File tree 3 files changed +1
-50
lines changed
3 files changed +1
-50
lines changed Original file line number Diff line number Diff line change 6
6
permissions :
7
7
contents : read # to fetch code (actions/checkout)
8
8
jobs :
9
- Setup :
10
- runs-on : ${{ matrix.os }}
11
- strategy :
12
- matrix :
13
- os : [ubuntu-latest, windows-latest, macOS-latest]
14
- steps :
15
- - uses : actions/checkout@v3
16
- - uses : actions/setup-node@v3
17
- with :
18
- node-version : 18
19
- cache : npm
20
- - run : npm install
21
- env :
22
- SKIP_PREPARE : true
23
- - run : npm run build
24
- env :
25
- PUBLISH : true
26
- - name : Upload build assets
27
- id : upload-artifact
28
- uses : actions/upload-artifact@v3
29
- with :
30
- name : build-assets
31
- path : |
32
- index.*
33
- compiler.*
34
- ssr.*
35
- action/
36
- animate/
37
- easing/
38
- internal/
39
- motion/
40
- store/
41
- transition/
42
- types/
43
9
Tests :
44
- needs : Setup
45
10
runs-on : ${{ matrix.os }}
46
11
timeout-minutes : 15
47
12
strategy :
54
19
with :
55
20
node-version : ${{ matrix.node-version }}
56
21
cache : npm
57
- - name : Download build assets
58
- uses : actions/download-artifact@v3
59
- id : download-artifact
60
- with :
61
- name : build-assets
62
22
- run : npm install
63
- env :
64
- SKIP_PREPARE : true
65
23
- run : npm run test:integration
66
24
env :
67
25
CI : true
Original file line number Diff line number Diff line change 95
95
"test:unit" : " mocha --config .mocharc.unit.js --exit" ,
96
96
"quicktest" : " mocha --exit" ,
97
97
"build" : " rollup -c && npm run tsd" ,
98
- "prepare" : " node scripts/skip_in_ci.js npm run build" ,
98
+ "prepare" : " npm run build" ,
99
99
"dev" : " rollup -cw" ,
100
100
"posttest" : " agadoo internal/index.mjs" ,
101
101
"prepublishOnly" : " node check_publish_env.js && npm run lint && npm run build && npm test" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments