Skip to content

Commit eecd646

Browse files
committed
tags
1 parent bb1d021 commit eecd646

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Publish Package to NPM
22
on:
33
push:
4-
branches:
5-
- main
4+
tags:
5+
- 'v*.*.*'
66
release:
77
types: [created]
88

@@ -13,8 +13,8 @@ jobs:
1313
- uses: actions/checkout@v3
1414
- uses: actions/setup-node@v3
1515
with:
16-
node-version: "16.x"
17-
registry-url: "https://registry.npmjs.org"
16+
node-version: '16.x'
17+
registry-url: 'https://registry.npmjs.org'
1818
- run: npm install
1919
- run: npm test
2020
- run: npm publish

0 commit comments

Comments
 (0)