File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,12 +3,9 @@ name: CI
33on :
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
1310concurrency :
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
You can’t perform that action at this time.
0 commit comments