Skip to content

Commit 39bf40d

Browse files
authored
Merge pull request #1 from simonkovtyk/main
ci: added npm token
2 parents 633f4a8 + 1ca8a79 commit 39bf40d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,18 @@ jobs:
1515
uses: pnpm/action-setup@v4
1616
with:
1717
version: latest
18+
run_install: false
19+
20+
- name: Dependencies
21+
run: pnpm install
22+
23+
- name: Build
24+
run: tsc
1825

1926
- name: Assets
2027
run: cp package.json dist/package.json
2128

2229
- name: Publish
23-
run: cd dist && pnpm publish --access public --publish-branch release
30+
env:
31+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
32+
run: cd dist && pnpm publish --access public --no-git-checks

0 commit comments

Comments
 (0)