Content-Length: 289155 | pFad | http://github.com/RedisGraph/redisgraph.js/commit/317a3ec5901e95d8a07ba9af29aec5bf3f9a2185
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 61d4f12 commit 317a3ecCopy full SHA for 317a3ec
.github/workflows/npm-publish.yml
@@ -0,0 +1,28 @@
1
+on:
2
+ push:
3
+ tags:
4
+ - '*'
5
+
6
+jobs:
7
+ publish:
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - uses: actions/checkout@v2
12
13
+ - name: setup node
14
+ uses: actions/setup-node@v1
15
+ with:
16
+ node-version: 12
17
18
+ - name: get version from tag
19
+ id: get_version
20
+ run: |
21
+ realversion="${GITHUB_REF/refs\/tags\//}"
22
+ realversion="${realversion//v/}"
23
+ echo "::set-output name=VERSION::$realversion"
24
25
+ - name: publish to npm
26
+ run: npm publish --tag ${{steps.get_version.outputs.VERSION}}
27
+ env:
28
+ NPM_TOKEN: ${{secrets.NPM_TOKEN}}
Fetched URL: http://github.com/RedisGraph/redisgraph.js/commit/317a3ec5901e95d8a07ba9af29aec5bf3f9a2185
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments