File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,8 +127,7 @@ jobs:
127127 - name : Setup Node.js
128128 uses : actions/setup-node@v4
129129 with :
130- node-version : ' 20'
131- registry-url : ' https://registry.npmjs.org'
130+ node-version : ' 22'
132131
133132 - name : Setup Python
134133 uses : actions/setup-python@v5
Original file line number Diff line number Diff line change 3636 - name : Setup Node.js
3737 uses : actions/setup-node@v4
3838 with :
39- node-version : ' 18 '
39+ node-version : ' 22 '
4040 registry-url : ' https://registry.npmjs.org'
4141
4242 - name : Install dependencies
4646 run : npm run build
4747
4848 - name : Publish to npm
49+ id : npm_publish
4950 working-directory : packages/flarelette-jwt-ts
51+ env :
52+ NODE_AUTH_TOKEN : ' '
5053 run : npm publish --provenance --access public
5154
55+ - name : Upload npm debug logs (on failure)
56+ if : failure() && steps.npm_publish.outcome == 'failure'
57+ uses : actions/upload-artifact@v4
58+ with :
59+ name : npm-debug-logs
60+ path : /home/runner/.npm/_logs/*
61+ if-no-files-found : warn
62+ retention-days : 14
63+
5264 publish-pypi :
5365 runs-on : ubuntu-latest
5466 if : ${{ github.event.inputs.package == 'python' || github.event.inputs.package == 'both' }}
Original file line number Diff line number Diff line change 4242 - name : Setup Node.js
4343 uses : actions/setup-node@v4
4444 with :
45- node-version : ' 18'
46- registry-url : ' https://registry.npmjs.org'
45+ node-version : ' 22'
4746
4847 - name : Install dependencies
4948 run : npm ci
You can’t perform that action at this time.
0 commit comments