Skip to content

Commit eeb2a44

Browse files
committed
fix: workflow changes
1 parent e9f8496 commit eeb2a44

2 files changed

Lines changed: 17 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,10 @@ jobs:
4646
env:
4747
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4848

49-
# Uncomment below when ready to publish to npm
50-
# - name: Build and publish to npm
51-
# if: startsWith(github.ref, 'refs/tags/v')
52-
# run: |
53-
# pnpm build
54-
# npm publish --access public
55-
# env:
56-
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
49+
- name: Build and publish to npm
50+
if: startsWith(github.ref, 'refs/tags/v')
51+
run: |
52+
pnpm build
53+
npm publish --access public
54+
env:
55+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.vscode/settings.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"files.exclude": {
3+
"**/.git": true,
4+
"**/.svn": true,
5+
"**/.hg": true,
6+
"**/.DS_Store": true,
7+
"**/Thumbs.db": true,
8+
"**/node_modules": true
9+
}
10+
}

0 commit comments

Comments
 (0)