This repository was archived by the owner on Jan 2, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +3525
-104
lines changed
Expand file tree Collapse file tree 6 files changed +3525
-104
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Publish NPM
1+ name : Publish to npm
22
33on :
4+ push :
5+ tags :
6+ - ' [0-9].[0-9]+.[0-9]+'
47 release :
58 types : [published]
69
1316 with :
1417 node-version : 10
1518 registry-url : https://registry.npmjs.org/
16- - run : npm ci
17- - run : npm publish
19+ - name : npm install and publish
20+ run : |
21+ ls -lha
22+ npm ci
23+ npm publish
1824 env :
19- NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
25+ NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Run Tests
2+
3+ on :
4+ push :
5+ branches : [ master, develop ]
6+ pull_request :
7+ branches : [ master, develop ]
8+
9+ jobs :
10+
11+ # Removing the build job for now because it's useless
12+ # and a time waster. If there's a need for it, we'll introduce
13+ # it later
14+ #
15+ # build:
16+ # runs-on: ubuntu-latest
17+
18+ # steps:
19+ # - uses: actions/checkout@v2
20+ # - name: npm install and build webpack
21+ # run: |
22+ # ls -lha
23+ # npm ci
24+ # npm run build --if-present
25+ # - uses: actions/upload-artifact@master
26+ # with:
27+ # name: webpack artifacts
28+ # path: dist/
29+
30+
31+ test :
32+ runs-on : ubuntu-latest
33+
34+ strategy :
35+ matrix :
36+ os : [ubuntu-latest, windows-2016]
37+ node-version : [10.x, 12.x]
38+
39+ steps :
40+ - uses : actions/checkout@v2
41+ - name : Use Node.js ${{ matrix.node-version }}
42+ uses : actions/setup-node@v1
43+ with :
44+ node-version : ${{ matrix.node-version }}
45+ - name : npm install and test
46+ run : |
47+ ls -lha
48+ npm ci
49+ npm test
50+ env :
51+ CI : true
You can’t perform that action at this time.
0 commit comments