We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 169b80e commit 39a134eCopy full SHA for 39a134e
.github/workflows/npm-publish.yml
@@ -1,7 +1,7 @@
1
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3
4
-name: Node.js Package
+name: Release Node.js Package
5
6
on:
7
release:
@@ -25,6 +25,9 @@ jobs:
25
version: latest
26
run_install: false
27
28
+ - name: Set version
29
+ run: npm pkg set version=${GITHUB_REF#refs/tags/}
30
+
31
- name: Publish to NPM
32
run: pnpm publish --access public --no-git-checks
33
env:
0 commit comments