Skip to content

Commit c433ba0

Browse files
authored
ci: add NPM_TOKEN (#530)
1 parent ab1c50a commit c433ba0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,12 @@ jobs:
6666

6767
- name: Install dependencies
6868
run: pnpm install
69+
6970
- name: Build
7071
run: pnpm build
7172

72-
- name: Npm token
73-
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
74-
env:
75-
NPM_TOKEN: '${{secrets.NPM_TOKEN}}'
76-
7773
- name: Publish
7874
run: npx semantic-release
7975
env:
80-
NODE_AUTH_TOKEN: '${{secrets.NPM_TOKEN}}'
76+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
8177
GITHUB_TOKEN: '${{secrets.GITHUB_TOKEN}}'

0 commit comments

Comments
 (0)