File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 88 branches : [main, next]
99 paths-ignore : ["**.md"]
1010
11+ concurrency :
12+ group : " ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}"
13+ cancel-in-progress : true
14+
1115jobs :
1216 format :
1317 runs-on : ubuntu-latest
1721 with :
1822 ref : ${{ github.head_ref }}
1923 - name : Use node
20- uses : actions/setup-node@v2
24+ uses : actions/setup-node@v3
2125 with :
22- node-version : 16.x
26+ node-version : 16
2327 cache : npm
2428 - name : Install dependencies
2529 run : npm ci
@@ -35,16 +39,17 @@ jobs:
3539 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3640 test :
3741 runs-on : ${{ matrix.os }}
42+ name : " test: node@${{ matrix.node }} (${{ matrix.os }})"
3843 strategy :
3944 fail-fast : false
4045 matrix :
4146 os : [ubuntu-latest, windows-latest]
42- node : [14.x , 16.x ]
47+ node : [14, 16, 18 ]
4348 steps :
4449 - name : Checkout code
4550 uses : actions/checkout@v3
4651 - name : Use node@${{ matrix.node }}
47- uses : actions/setup-node@v2
52+ uses : actions/setup-node@v3
4853 with :
4954 node-version : ${{ matrix.node }}
5055 cache : npm
6267 - name : Checkout code
6368 uses : actions/checkout@v3
6469 - name : Setup node
65- uses : actions/setup-node@v2
70+ uses : actions/setup-node@v3
6671 with :
6772 node-version : 16.x
6873 cache : npm
Original file line number Diff line number Diff line change 7474 "test" : " npm run mocha -- --watch" ,
7575 "test:inspect" : " npm test -- --inspect" ,
7676 "test:update" : " npm run mocha -- --update" ,
77- "version" : " changeset version"
77+ "version" : " changeset version && npm i --package-lock-only "
7878 },
7979 "types" : " dist/index.d.ts"
8080}
You can’t perform that action at this time.
0 commit comments