Skip to content

Commit 2224e06

Browse files
committed
x
1 parent b0b80cd commit 2224e06

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@ name: CI
33
on:
44
workflow_dispatch:
55
pull_request:
6-
branches: [main, develop]
6+
branches: [main, develop, master]
77
types: [opened, synchronize, ready_for_review]
88

9-
env:
10-
CI: true
11-
129
# cancel running actions for current PR if new commits were pushed
1310
concurrency:
1411
group: ${{ github.workflow }}-${{ github.ref }}
@@ -71,11 +68,19 @@ jobs:
7168
exit 1
7269
fi
7370
74-
checks:
71+
build:
7572
if: github.event.pull_request.draft == false
7673
runs-on: ubuntu-latest
74+
75+
strategy:
76+
matrix:
77+
node-version: [20.x, 22.x, 24.x]
78+
7779
steps:
7880
- uses: actions/checkout@v4
79-
- uses: actions/setup-node@v4
80-
- run: yarn install
81-
- run: yarn test
81+
- name: Use Node.js ${{ matrix.node-version }}
82+
uses: actions/setup-node@v4
83+
- run: rm -rf node_modules && yarn install --frozen-lockfile
84+
- run: npm run lint
85+
- run: npm run build --if-present
86+
- run: npm run test:ci

0 commit comments

Comments
 (0)