File tree 4 files changed +39
-9
lines changed
4 files changed +39
-9
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
+
4
+ name : Test
5
+
6
+ on :
7
+ push :
8
+ branches : [ master ]
9
+ pull_request :
10
+ branches : [ master ]
11
+
12
+ jobs :
13
+ test :
14
+
15
+ runs-on : ubuntu-latest
16
+
17
+ strategy :
18
+ matrix :
19
+ node-version : [8.x, 10.x, 12.x]
20
+
21
+ steps :
22
+ - uses : actions/checkout@v2
23
+ - name : Use Node.js ${{ matrix.node-version }}
24
+ uses : actions/setup-node@v1
25
+ with :
26
+ node-version : ${{ matrix.node-version }}
27
+ - name : Install, lint and test
28
+ run : |
29
+ yarn install
30
+ yarn lint
31
+ yarn test
32
+ env :
33
+ CI : true
Original file line number Diff line number Diff line change 1
- <p align =" center " ><a href =" https://haystackapp.io/ " target =" _blank " rel =" noopener noreferrer " ><span style =" font-size :64px ;" >🗝</span >
2
- </a ></p >
1
+ <p align =" center " ><a href =" https://github.com/du5rte/secrets " target =" _blank " rel =" noopener noreferrer " ><img width =" 100 " src =" key.svg " alt =" Key " ></a ></p >
3
2
4
3
<p align =" center " ><a href =" https://github.com/du5rte/secrets " ><img alt =" GitHub Actions Test Status " src =" https://github.com/du5rte/secrets/workflows/Test/badge.svg " /></p >
5
4
6
-
7
5
# Secrets
8
6
9
7
Secret handler for Node.js 🗝️
Original file line number Diff line number Diff line change 4
4
"description" : " Secret handler for Node.js 🗝️" ,
5
5
"main" : " dist" ,
6
6
"scripts" : {
7
- "build" : " babel src --out-dir dist" ,
8
- "clean" : " rm -rf dist" ,
9
- "dev" : " babel src --out-dir dist && jest" ,
10
- "prepublish" : " rm -rf dist && babel src --out-dir dist" ,
11
- "lint" : " eslint ." ,
7
+ "build" : " babel src --out-dir dist --delete-dir-on-start --verbose" ,
8
+ "dev" : " npm run build && npm run test" ,
9
+ "lint" : " eslint src" ,
12
10
"test" : " jest"
13
11
},
14
12
"license" : " MIT" ,
69
67
"prettier/prettier" : " warn"
70
68
},
71
69
"ignorePatterns" : [
72
- " dist /" ,
70
+ " lib /" ,
73
71
" node_modules/"
74
72
]
75
73
},
You can’t perform that action at this time.
0 commit comments