We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 89d81c1 + 3788374 commit 30a4370Copy full SHA for 30a4370
2 files changed
.github/workflows/npmpublish.yml
@@ -0,0 +1,21 @@
1
+name: Publish package
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v1
12
+ - uses: actions/setup-node@v1
13
+ with:
14
+ node-version: 12
15
+ registry-url: https://npm.pkg.github.com/
16
+ scope: '@leviy'
17
+ - run: |
18
+ npm --no-git-tag-version version ${{github.event.release.name}}
19
+ npm publish
20
+ env:
21
+ NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
package.json
@@ -1,6 +1,6 @@
{
"name": "@leviy/webpack-config-default",
- "version": "3.1.0",
+ "version": "0.0.0",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com:leviy/webpack-config-default.git"
0 commit comments