Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
node-version: '22'

- name: Setup Python
uses: actions/setup-python@v5
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/manual-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '22'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
Expand All @@ -46,9 +46,21 @@ jobs:
run: npm run build

- name: Publish to npm
id: npm_publish
working-directory: packages/flarelette-jwt-ts
env:
NODE_AUTH_TOKEN: ''
run: npm publish --provenance --access public

- name: Upload npm debug logs (on failure)
if: failure() && steps.npm_publish.outcome == 'failure'
uses: actions/upload-artifact@v4
with:
name: npm-debug-logs
path: /home/runner/.npm/_logs/*
if-no-files-found: warn
retention-days: 14

publish-pypi:
runs-on: ubuntu-latest
if: ${{ github.event.inputs.package == 'python' || github.event.inputs.package == 'both' }}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org'
node-version: '22'

- name: Install dependencies
run: npm ci
Expand Down
Loading