-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 860 Bytes
/
Copy pathcheck.yml
File metadata and controls
37 lines (34 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Check
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
check:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
nodejs: ["lts/*", "lts/-1", "*"]
pnpm: ["12.3.4"]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: ${{ matrix.nodejs }}
- uses: pnpm/setup@v3
with:
version: ${{ matrix.pnpm }}
- run: pnpm install --frozen-lockfile
- run: pnpm run check
- name: Require deterministic generated files
run: git diff --exit-code
- uses: actions/upload-artifact@v7
if: always()
with:
name: coverage-${{ matrix.os }}
path: coverage/