Skip to content

Commit e46f640

Browse files
authored
Prepare for trusted publishing
1 parent 30df321 commit e46f640

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,26 @@ on:
77

88
concurrency: ${{ github.workflow }}-${{ github.ref }}
99

10+
permissions:
11+
id-token: write
12+
contents: write
13+
pull-requests: write
14+
1015
jobs:
1116
release:
1217
name: Release
1318
runs-on: ubuntu-latest
1419
steps:
1520
- name: Checkout Repo
16-
uses: actions/checkout@v4
21+
uses: actions/checkout@v7
1722
with:
1823
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
1924
fetch-depth: 0
2025

2126
- name: Setup Node.js
22-
uses: actions/setup-node@v4
27+
uses: actions/setup-node@v7
2328
with:
24-
node-version: 20
29+
node-version: lts/*
2530

2631
- name: Install Dependencies
2732
run: npm ci
@@ -33,4 +38,3 @@ jobs:
3338
publish: npm run release
3439
env:
3540
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)