Skip to content

Commit

Permalink
ci: bump setup node values in release.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
snrakshith committed Jul 30, 2024
1 parent 5097aa8 commit b5e2c65
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ on:
branches:
- main
jobs:
semantic-release:
release:
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"
Expand All @@ -18,4 +24,4 @@ jobs:
- name: Release a new version
run: npx semantic-release
env:
GITHUB_TOKEN: "${{ secrets.RELEASE_GITHUB_TOKEN }}"
GITHUB_TOKEN: "${{ secrets.GH_TOKEN }}"

0 comments on commit b5e2c65

Please sign in to comment.