Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
💚 fix publish npm
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Jan 14, 2022
1 parent bc93864 commit 299ec28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'

- name: Checkout
uses: actions/checkout@v2
Expand All @@ -44,7 +45,7 @@ jobs:
- name: Publish npm
run: |
cd alist-web
yarn publish
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc && yarn publish
cd ..
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 299ec28

Please sign in to comment.