File tree 4 files changed +31
-1789
lines changed
4 files changed +31
-1789
lines changed Original file line number Diff line number Diff line change 1
- name : Release npm package
1
+ name : Tests
2
2
3
- on :
4
- push :
5
- branches :
6
- - main
3
+ on : push
7
4
8
5
jobs :
9
- release :
10
- name : Release
6
+ lint :
7
+ name : Run tests
11
8
runs-on : ubuntu-latest
9
+ container : ' node:14-alpine'
12
10
steps :
13
- - uses : actions/checkout@master
14
- - uses : actions/setup-node@v1
15
- with :
16
- node-version : " 14.x"
17
- - run : npm ci
18
- - run : npm run build --if-present
19
- - run : npm test
20
- - run : npx semantic-release --branches main
21
- env :
22
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
11
+ - uses : actions/checkout@v2
12
+ - name : npm ci
13
+ run : npm ci
14
+ - name : npm test
15
+ run : npm test
Original file line number Diff line number Diff line change
1
+ name : Tests
2
+
3
+ on : push
4
+
5
+ jobs :
6
+ lint :
7
+ name : Run tests
8
+ runs-on : ubuntu-latest
9
+ container : ' node:14-alpine'
10
+ steps :
11
+ - uses : actions/checkout@v1
12
+ - name : npm ci
13
+ run : npm ci
14
+ - name : npm test
15
+ run : npm test
You can’t perform that action at this time.
0 commit comments