File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 16
16
build :
17
17
runs-on : ubuntu-latest
18
18
env :
19
- NODE_VER : 12.18.2
19
+ NODE_VER : 14.17.6
20
20
steps :
21
21
- uses : actions/checkout@v2
22
22
- name : Use Node.js
@@ -32,12 +32,14 @@ jobs:
32
32
env :
33
33
CI : true
34
34
35
+ - run : npm run test:unit
36
+
35
37
- name : Is Release?
36
38
if : startswith(github.ref, 'refs/tags/v')
37
39
run : echo "DEPLOY_PACKAGE=true" >> $GITHUB_ENV
38
40
39
41
- name : Publish to npm
40
42
if : env.DEPLOY_PACKAGE == 'true'
41
- run : npm pack && npm publish --access public
43
+ run : npm run build && npm pack && npm publish build/ --access public
42
44
env :
43
45
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1
1
export type KeyValueType = {
2
- [ key : string ] : string ;
2
+ [ key : string ] : any ;
3
3
}
You can’t perform that action at this time.
0 commit comments