File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 test :
1717 name : Node ${{ matrix.node }} and ${{ matrix.os }}
1818 timeout-minutes : 30
19+ env :
20+ COREPACK_DEFAULT_TO_LATEST : ' 0'
1921 strategy :
2022 fail-fast : false
2123 matrix :
2830 pull-requests : write # to be able to comment on released pull requests
2931 id-token : write # required for npm trusted publishing (OIDC)
3032 steps :
31- - uses : actions/checkout@v5
33+ - uses : actions/checkout@v6
3234 # https://github.com/nodejs/node-gyp#installation
3335 - name : Use Python 3.11
3436 uses : actions/setup-python@v6
4648 run : |
4749 sudo apt update
4850 sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev
49- - uses : pnpm/action-setup@v4
50- with :
51- run_install : false
51+ - name : Enable Corepack
52+ run : corepack enable pnpm
5253 - name : Use Node.js ${{ matrix.node }}
5354 uses : actions/setup-node@v6
5455 with :
@@ -64,10 +65,11 @@ jobs:
6465 - name : Run Tests
6566 run : pnpm test
6667 - name : Coverage
67- if : matrix.os == 'ubuntu-latest' && matrix.node == 22 # only run once
68+ if : matrix.os == 'ubuntu-latest' && matrix.node == 24 # only run once
6869 run : pnpm test-coverage
6970 - name : Maybe Release
70- if : matrix.os == 'ubuntu-latest' && matrix.node == 22 && github.event_name == 'push' && github.ref == 'refs/heads/main'
71+ if : matrix.os == 'ubuntu-latest' && matrix.node == 24 && github.event_name == 'push' && github.ref == 'refs/heads/main'
7172 env :
7273 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
74+ COREPACK_ENABLE_STRICT : ' 0'
7375 run : pnpm --dir publish install --ignore-workspace --frozen-lockfile && ./publish/node_modules/.bin/semantic-release
Original file line number Diff line number Diff line change 99 "license" : " MIT" ,
1010 "main" : " ./dist/ncc/index.js" ,
1111 "bin" : {
12- "ncc" : " ./ dist/ncc/cli.js"
12+ "ncc" : " dist/ncc/cli.js"
1313 },
1414 "files" : [
1515 " dist"
You can’t perform that action at this time.
0 commit comments