File tree Expand file tree Collapse file tree 1 file changed +21
-9
lines changed
Expand file tree Collapse file tree 1 file changed +21
-9
lines changed Original file line number Diff line number Diff line change 11
2- name : Push
2+ name : Test
33
4- on : [ push ]
4+ on :
5+ push :
6+ pull_request :
7+
8+ concurrency :
9+ group : ${{ github.head_ref || github.run_id }}
10+ cancel-in-progress : true
511
612jobs :
713
814 build :
915
10- runs-on : ubuntu-latest
16+ runs-on : ${{ matrix.operating-system }}
1117
1218 strategy :
1319 fail-fast : false
1420 matrix :
21+ operating-system :
22+ - ubuntu-latest
23+ - windows-latest
1524 node-version :
16- - 20.x # Maintenance
17- - 22.x # Active
18- - 23.x # Current
25+ - 20.x
26+ - 22.x
27+ - 24.x
1928
2029 steps :
2130
2231 - name : Checkout main branch
2332 uses : actions/checkout@v4
2433
25- - name : Enable Node.js Corepack
26- run : corepack enable
27-
2834 - name : Use Node.js ${{ matrix.node-version }}
2935 uses : actions/setup-node@v4
3036 with :
3137 node-version : ${{ matrix.node-version }}
3238
39+ - name : Enable Node.js Corepack
40+ run : corepack enable
41+
3342 - name : Yarn install
3443 run : yarn install
44+
45+ - name : Test
46+ run : yarn test
You can’t perform that action at this time.
0 commit comments