There was an error while loading. Please reload this page.
1 parent 1ad066a commit 212adefCopy full SHA for 212adef
1 file changed
.github/workflows/release.yml
@@ -13,6 +13,7 @@ jobs:
13
contents: write # for release publishing
14
pull-requests: write # for creating PRs
15
issues: write # additional permission that might be needed
16
+ id-token: write # for NPM OIDC trusted publishing
17
18
name: Release
19
env:
@@ -30,12 +31,13 @@ jobs:
30
31
cache: 'yarn'
32
- name: Install dependencies
33
run: yarn install --frozen-lockfile --non-interactive
34
+ - name: Update npm for OIDC trusted publishing
35
+ run: npm install -g npm@latest
36
- run: yarn build
37
- name: Release
38
id: semantic_release
39
40
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
41
run: npx semantic-release
42
- name: Create PR with release changes
43
if: ${{ success() && steps.semantic_release.outcome == 'success' }}
0 commit comments