Skip to content

fix: bump Node version in release workflow from 20 to 22 #226

fix: bump Node version in release workflow from 20 to 22

fix: bump Node version in release workflow from 20 to 22 #226

Workflow file for this run

name: Create npm and GitHub Release
on:
pull_request:
types:
- closed
workflow_dispatch:
permissions:
contents: write
id-token: write # For publishing to npm using --provenance
jobs:
release:
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
runs-on: ubuntu-latest
environment: release
strategy:
matrix:
package: [auth0-auth-js, auth0-api-js, auth0-server-js]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 0
- id: release
uses: ./.github/actions/release
with:
package: ${{ matrix.package }}
node-version: 22
require-build: true
release-directory: ./
github-token: ${{ secrets.GITHUB_TOKEN }}