Skip to content

Commit ef6787d

Browse files
committed
test 2
Signed-off-by: wss <[email protected]>
1 parent 4c74f7e commit ef6787d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/npm-publish.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ jobs:
1414
with:
1515
node-version: 18
1616
registry-url: https://registry.npmjs.org/
17-
- name: engine publish
17+
- name: create .npmrc
18+
run: echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > .npmrc
19+
working-directory: ./src
20+
- name: publish
1821
run: npm publish
1922
working-directory: ./src
20-
env:
21-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)