Content-Length: 289155 | pFad | http://github.com/RedisGraph/redisgraph.js/commit/317a3ec5901e95d8a07ba9af29aec5bf3f9a2185

E4 npm publish on tag · RedisGraph/redisgraph.js@317a3ec · GitHub
Skip to content

Commit 317a3ec

Browse files
committed
npm publish on tag
1 parent 61d4f12 commit 317a3ec

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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}}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/RedisGraph/redisgraph.js/commit/317a3ec5901e95d8a07ba9af29aec5bf3f9a2185

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy