File tree 3 files changed +34
-2
lines changed
3 files changed +34
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Node.js Package
2
+
3
+ on :
4
+ release :
5
+ types : [created]
6
+ push :
7
+ tags :
8
+ - ' *'
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+
17
+ - uses : actions/setup-node@v2
18
+ with :
19
+ node-version : ' 14.x'
20
+ registry-url : ' https://registry.npmjs.org'
21
+
22
+ - name : Install dependencies & build packages
23
+ run : yarn install --frozen-lockfile
24
+
25
+ - name : Run tests
26
+ run : yarn test:ci
27
+
28
+ - name : Publish packages
29
+ run : yarn release:beta
30
+ env :
31
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN_TEST }}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Node.js CI
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- test :
6
+ build :
7
7
runs-on : ubuntu-latest
8
8
9
9
steps :
Original file line number Diff line number Diff line change 23
23
"format" : " prettier --config ./prettier.config.js --write 'packages/@ackee/*/src/**/*.ts' '*.{js,json}' --loglevel warn" ,
24
24
"release" : " lerna publish --no-push" ,
25
25
"release:beta" : " yarn release --dist-tag beta --no-push" ,
26
+ "release:alpha" : " yarn release --dist-tag alpha --no-push" ,
26
27
"prepare" : " yarn build" ,
27
28
"release:yalc" : " yarn prepare && lerna exec -- yalc push --no-scripts" ,
28
29
"circular-modules" : " lerna exec -- madge --circular src" ,
69
70
"husky" : {
70
71
"hooks" : {
71
72
"pre-commit" : " lint-staged" ,
72
- "pre-push" : " yarn circular-modules && yarn docs:build && yarn docs:commit "
73
+ "pre-push" : " yarn circular-modules"
73
74
}
74
75
},
75
76
"lint-staged" : {
You can’t perform that action at this time.
0 commit comments