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 c138dc7 commit 5c9ecf7Copy full SHA for 5c9ecf7
.github/workflows/release-dev.yml
@@ -0,0 +1,25 @@
1
+name: Release dev release line
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ dev_release:
10
+ runs-on: ubuntu-latest
11
+ environment: npm
12
+ env:
13
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
14
+ steps:
15
+ - uses: actions/checkout@v3
16
+ - uses: actions/setup-node@v3
17
+ with:
18
+ registry-url: 'https://registry.npmjs.org'
19
+ - run: yarn install
20
+ - id: pkg
21
+ run: |
22
+ content=`cat ./package.json | tr '\n' ' '`
23
+ echo "::set-output name=json::$content"
24
+ - run: npm version --no-git-tag-version ${{ fromJson(steps.pkg.outputs.json).version }}-$(git rev-parse --short HEAD)+${{ github.run_id }}.${{ github.run_attempt }}
25
+ - run: npm publish --tag dev
0 commit comments