File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111jobs :
1212 ci :
13- strategy :
14- matrix :
15- node-version : [20, 22]
16- os : [ubuntu-latest, windows-latest]
17- fail-fast : false
18-
19- name : node ${{ matrix.node-version }}, ${{ matrix.os }}
20- runs-on : ${{ matrix.os }}
13+ runs-on : ubuntu-latest
2114
2215 steps :
2316 - name : Checkout
@@ -28,11 +21,11 @@ jobs:
2821 - name : Setup pnpm
2922 uses : pnpm/action-setup@v4
3023
31- - name : Setup node ${{ matrix.node-version }}
24+ - name : Setup node
3225 uses : actions/setup-node@v4
3326 with :
3427 registry-url : ' https://registry.npmjs.org'
35- node-version : ${{ matrix .node-version }}
28+ node-version-file : .node-version
3629 cache : pnpm
3730
3831 - name : Install
@@ -44,13 +37,12 @@ jobs:
4437 - name : Test
4538 run : pnpm run test:cover
4639
40+ - name : Build
41+ run : pnpm run build
42+
4743 # Uncomment this step if you want to upload coverage reports to Codecov
4844 # - name: Upload coverage reports to Codecov
49- # if: ${{ matrix.node-version == '22' && matrix.os == 'ubuntu-latest' }}
5045 # uses: codecov/codecov-action@v5
5146 # with:
5247 # token: ${{ secrets.CODECOV_TOKEN }}
5348 # slug: mys1024/starter-node
54-
55- - name : Build
56- run : pnpm run build
Original file line number Diff line number Diff line change 2525 uses : actions/setup-node@v4
2626 with :
2727 registry-url : ' https://registry.npmjs.org'
28- node-version : 22
28+ node-version-file : .node-version
2929 cache : pnpm
3030
3131 - name : Install
4646 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
4747
4848 - name : Changelog
49- run : pnpx changelogithub
49+ run : pnpm changelogithub
5050 env :
5151 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 4848 "@vitest/coverage-v8" : " ^3.2.3" ,
4949 "bump" : " ^0.2.5" ,
5050 "bumpp" : " ^10.1.1" ,
51+ "changelogithub" : " ^13.15.0" ,
5152 "eslint" : " ^9.29.0" ,
5253 "lint-staged" : " ^16.1.2" ,
5354 "npm-run-all2" : " ^8.0.4" ,
You can’t perform that action at this time.
0 commit comments