Skip to content

Commit 2c86c6f

Browse files
authored
chore(ci): YPE-1050 Modify release.yml for permissions and Node.js version
Updated permissions and Node.js version in release workflow. Addressed YPE-1050 Signed-off-by: Jeff Hampton <jhampton@gmail.com>
1 parent c63c21a commit 2c86c6f

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
contents: write # to create releases and push commits
1616
issues: write # to comment on released issues
1717
pull-requests: write # to comment on released PRs
18-
id-token: write # for npm provenance
18+
id-token: write # for npm provenance and trusted publishing
1919

2020
steps:
2121
- name: 📥 Checkout
@@ -29,7 +29,7 @@ jobs:
2929
- name: 🟢 Setup Node
3030
uses: actions/setup-node@v4
3131
with:
32-
node-version: "20" # LTS
32+
node-version: "22" # 22.14.0 or Higher LTS
3333
cache: "npm"
3434
registry-url: "https://registry.npmjs.org"
3535

@@ -47,8 +47,6 @@ jobs:
4747
- name: 🚀 Release
4848
env:
4949
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50-
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
51-
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5250
HUSKY: 0
5351
run: |
5452
# Configure git for commits by semantic-release

0 commit comments

Comments
 (0)