Skip to content

Commit 3f68de3

Browse files
committed
Fix publish workflow
1 parent 4852adf commit 3f68de3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/npm-publish.yaml

+7-3
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,14 @@ jobs:
1414
uses: actions/setup-node@v3
1515
with:
1616
node-version: 16
17+
registry-url: https://registry.npmjs.org/
1718
- name: Set version from tag
1819
run: npm version ${{ github.event.release.tag_name }} --no-git-tag-version
19-
- run: npm ci
20-
- run: npm run build
21-
- run: npm publish --access public
20+
- name: Install dependencies
21+
run: npm ci
22+
- name: Build
23+
run: npm run build
24+
- name: Publish
25+
run: npm publish --access public
2226
env:
2327
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)