This repository was archived by the owner on Oct 6, 2022. It is now read-only.
File tree 2 files changed +15
-13
lines changed
2 files changed +15
-13
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and Tests
2
+ on : push
3
+
4
+ jobs :
5
+ test :
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - uses : actions/checkout@v1
9
+ - uses : actions/setup-node@v1
10
+ with :
11
+ node-version : 12
12
+ - run : yarn install --frozen-lockfile
13
+ - run : yarn test
Original file line number Diff line number Diff line change 4
4
push :
5
5
tags :
6
6
- release-*
7
-
8
7
jobs :
9
- test :
10
- runs-on : ubuntu-latest
11
- steps :
12
- - uses : actions/checkout@v1
13
- - uses : actions/setup-node@v1
14
- with :
15
- node-version : 12
16
- - run : yarn install --frozen-lockfile
17
- - run : yarn test
18
-
19
8
publish-npm :
20
- needs : test
21
9
runs-on : ubuntu-latest
22
10
steps :
23
11
- uses : actions/checkout@v1
24
12
- uses : actions/setup-node@v1
25
13
with :
26
14
node-version : 12
27
15
registry-url : https://registry.npmjs.org/
16
+ - run : yarn install --frozen-lockfile
28
17
- run : yarn semantic-release:ci
29
18
env :
30
19
NODE_AUTH_TOKEN : ${{secrets.npm_token}}
33
22
NPM_AUTH_TOKEN : ${{secrets.NPM_AUTH_TOKEN}}
34
23
35
24
publish-gpr :
36
- needs : test
37
25
runs-on : ubuntu-latest
38
26
steps :
39
27
- uses : actions/checkout@v1
42
30
node-version : 12
43
31
registry-url : https://npm.pkg.github.com/
44
32
scope : ' @tanguyantoine'
33
+ - run : yarn install --frozen-lockfile
45
34
- run : npm publish
46
35
env :
47
36
NODE_AUTH_TOKEN : ${{secrets.NPM_AUTH_TOKEN}}
You can’t perform that action at this time.
0 commit comments