Skip to content

Commit 992b7d3

Browse files
committed
Set up NPM action
1 parent 8541a11 commit 992b7d3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v3
16-
with:
17-
# Check out the referred tag in the release
18-
# In case we want to publish something other than HEAD
19-
ref: $GITHUB_SHA
2016
- uses: actions/setup-node@v3
2117
with:
2218
node-version-file: ".nvmrc"
@@ -40,4 +36,4 @@ jobs:
4036
- run: yarn install --immutable
4137
- run: yarn npm publish --access public
4238
env:
43-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
39+
YARN_NPM_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)