We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b71f160 commit 447409eCopy full SHA for 447409e
.github/workflows/publish.yml
@@ -1,7 +1,7 @@
1
name: Publish Package to npmjs
2
on:
3
release:
4
- types: [created]
+ types: [published]
5
jobs:
6
build:
7
runs-on: ubuntu-latest
@@ -12,7 +12,7 @@ jobs:
12
with:
13
node-version: '16.x'
14
registry-url: 'https://registry.npmjs.org'
15
- - run: npm ci
16
- - run: yarn new:publish
+ - run: yarn install --frozen-lockfile
+ - run: yarn publish --new-version ${{ github.event.release.tag_name }} && clean-package restore
17
env:
18
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments