File tree 2 files changed +31
-2
lines changed
2 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 1
- name : Releases cross platform binaries for nodejs-snowflake and publishes to NPM
1
+ name : Releases cross platform binaries for nodejs-snowflake
2
2
3
3
on :
4
4
push :
36
36
uses : JS-DevTools/npm-publish@v1
37
37
with :
38
38
token : ${{ secrets.NPM_TOKEN }}
39
- tag : ${GITHUB_REF##*/}
40
39
Original file line number Diff line number Diff line change
1
+ name : Publishes to package to NPM
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' *'
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - name : Use Node.js
14
+ uses : actions/setup-node@v1
15
+ with :
16
+ node-version : 14.16.0
17
+ - name : Install Dependencies
18
+ run : npm ci
19
+
20
+ - name : Build NodeJS Snowflake
21
+ run : npm run build
22
+
23
+ - name : Run Tests
24
+ run : npm t
25
+
26
+ - name : Publish Package to NPM
27
+ uses : JS-DevTools/npm-publish@v1
28
+ with :
29
+ token : ${{ secrets.NPM_TOKEN }}
30
+
You can’t perform that action at this time.
0 commit comments