Skip to content

Commit ef2c122

Browse files
authored
chore: fix typescript-publish action (#6)
1 parent 7da47de commit ef2c122

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/typescript-publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,14 @@ jobs:
5858
- name: Build package
5959
working-directory: typescript
6060
run: pnpm build:prod
61-
61+
6262
- name: Publish to NPM
63+
uses: actions/setup-node@v4
64+
with:
65+
node-version: '20.x'
66+
registry-url: 'https://registry.npmjs.org'
67+
- run: npm ci
6368
working-directory: typescript
64-
run: npm publish --provenance
69+
- run: npm publish --provenance --access public
6570
env:
6671
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)