We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 614408c + baffdbe commit 6467e8dCopy full SHA for 6467e8d
2 files changed
.github/workflows/npmpublish.yml
@@ -0,0 +1,22 @@
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
+ cd packages/eslint-config-default/
19
+ npm --no-git-tag-version version ${{github.event.release.name}}
20
+ npm publish
21
+ env:
22
+ NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
packages/eslint-config-default/package.json
@@ -1,6 +1,6 @@
{
"name": "@leviy/eslint-config-default",
- "version": "2.0.1",
+ "version": "0.0.0",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com:leviy/javascript-coding-standard.git"
0 commit comments