File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,9 +7,27 @@ concurrency:
77 cancel-in-progress : true
88
99jobs :
10+ checks :
11+ runs-on : ubuntu-22.04
12+ timeout-minutes : 10
13+ strategy :
14+ matrix :
15+ node_version : [16, 18, 20]
16+ steps :
17+ - uses : actions/checkout@v4
18+ - uses : aboutbits/github-actions-node/setup-and-install@v2
19+ with :
20+ node-version : ${{ matrix.node_version }}
21+ - name : Lint
22+ run : npm run lint
23+ shell : bash
24+ - name : Typecheck
25+ run : npm run typecheck
26+ shell : bash
27+
1028 test :
1129 runs-on : ubuntu-22.04
12- timeout-minutes : 15
30+ timeout-minutes : 10
1331 strategy :
1432 matrix :
1533 node_version : [16, 18, 20]
1836 - uses : aboutbits/github-actions-node/setup-and-install@v2
1937 with :
2038 node-version : ${{ matrix.node_version }}
21- - run : npm run lint
22- - run : npm run typecheck
23- - run : npm run test
39+ - name : Test
40+ run : npm run test
41+ shell : bash
Original file line number Diff line number Diff line change 2121 owner: context.repo.owner,
2222 repo: context.repo.repo,
2323 tag_name: '${{ github.ref }}',
24- name: 'Release ${{ github.ref_name }}'
24+ name: 'Release ${{ github.ref_name }}',
25+ prerelease: '${{ github.ref_name }}'.includes('-')
2526 })
2627 - uses : aboutbits/github-actions-node/setup-and-install@v2
2728 with :
You can’t perform that action at this time.
0 commit comments