File tree 2 files changed +1
-23
lines changed
2 files changed +1
-23
lines changed Original file line number Diff line number Diff line change 12
12
jobs :
13
13
run :
14
14
runs-on : ubuntu-latest
15
- steps :
16
- - uses : actions/checkout@v3
17
- - uses : actions/setup-node@v3
18
- with :
19
- node-version : " 16"
20
- - name : Cache target
21
- id : yarn-cache-dir-path
22
- run : echo "::set-output name=dir::$(yarn cache dir)"
23
- - name : Cache
24
- uses : actions/cache@v1
25
- id : yarn-cache
26
- with :
27
- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
28
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
29
- restore-keys : ${{ runner.os }}-yarn-
30
- - run : yarn install
31
- - run : yarn test
32
-
33
- build :
34
- runs-on : ubuntu-latest
35
- needs : run
36
15
if : github.event.pull_request.merged == true || startsWith(github.event.head_commit.message, ':bookmark:')
37
16
steps :
38
17
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change 18
18
},
19
19
"license" : " MIT" ,
20
20
"scripts" : {
21
- "build" : " tsup index.ts --keep-names --clean --dts --minify" ,
22
- "test" : " yarn build && mocha"
21
+ "build" : " tsup index.ts --keep-names --clean --dts --minify"
23
22
},
24
23
"dependencies" : {
25
24
"extend" : " ^3.0.2" ,
You can’t perform that action at this time.
0 commit comments