We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1cf6434 + f18cb72 commit 33e71f4Copy full SHA for 33e71f4
1 file changed
.github/workflows/beta-release.yaml
@@ -6,25 +6,22 @@ on:
6
jobs:
7
beta_release:
8
runs-on: ubuntu-latest
9
- env:
10
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
11
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+ permissions:
+ contents: read
+ id-token: write
12
steps:
13
- uses: actions/checkout@v4
14
with:
15
ref: ${{ github.head_ref }}
16
- uses: actions/setup-node@v4
17
18
- node-version: '16.x'
+ node-version: '20.x'
19
registry-url: 'https://registry.npmjs.org'
20
cache: 'yarn'
21
22
- name: Install dev dependencies
23
run: yarn install
24
25
- - name: Setup npm credentials file
26
- run: echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> .npmrc
27
-
28
- name: Setup git credentials
29
run: |
30
git config --global user.name 'Auto Release Bot'
0 commit comments