-
Notifications
You must be signed in to change notification settings - Fork 135
44 lines (38 loc) · 892 Bytes
/
check.yml
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
38
39
40
41
42
43
44
name: Check
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
check-real:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
node: ['22']
check: [check-source-formatting, check-types, lint]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: npm run ${{ matrix.check }}
check:
# so we do not need to update GitHub repo config
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: ['20']
check: [check-source-formatting, check-types, lint]
needs:
- check-real
steps:
- run: echo ok