File tree 2 files changed +32
-2
lines changed
2 files changed +32
-2
lines changed Original file line number Diff line number Diff line change 33
33
- if : steps.cache.outputs.cache-hit != 'true'
34
34
run : npm install
35
35
36
- tests :
36
+ build :
37
+ needs : install
38
+ runs-on : ubuntu-latest
39
+ steps :
40
+ - uses : actions/checkout@v4
41
+ - uses : actions/setup-node@v4
42
+ with :
43
+ node-version : 20.x
44
+ - name : Load node_modules from cache
45
+ uses : actions/cache@v3
46
+ with :
47
+ # Use node_modules from previous jobs
48
+ path : ' node_modules'
49
+ key : ${{ runner.os }}-node-20-${{ hashFiles('package*.json') }}
50
+ - run : npm run build
51
+
52
+ lint :
37
53
needs : install
38
54
runs-on : ubuntu-latest
39
55
steps :
48
64
path : ' node_modules'
49
65
key : ${{ runner.os }}-node-20-${{ hashFiles('package*.json') }}
50
66
- run : npm run lint
67
+
68
+ test :
69
+ needs : install
70
+ runs-on : ubuntu-latest
71
+ steps :
72
+ - uses : actions/checkout@v4
73
+ - uses : actions/setup-node@v4
74
+ with :
75
+ node-version : 20.x
76
+ - name : Load node_modules from cache
77
+ uses : actions/cache@v3
78
+ with :
79
+ # Use node_modules from previous jobs
80
+ path : ' node_modules'
81
+ key : ${{ runner.os }}-node-20-${{ hashFiles('package*.json') }}
51
82
- run : npm run test
Original file line number Diff line number Diff line change 23
23
"babel-umd" : " babel --optional runtime dist/vue-async-computed.esnext.js --out-file dist/vue-async-computed.js" ,
24
24
"babel-esm" : " babel --optional runtime dist/vue-async-computed.esm.esnext.js --out-file dist/vue-async-computed.esm.js" ,
25
25
"babel" : " npm run babel-umd -s && npm run babel-esm -s" ,
26
- "postbuild" : " vitest run" ,
27
26
"prepublishOnly" : " npm run build -s" ,
28
27
"patch" : " npm version patch && npm publish" ,
29
28
"minor" : " npm version minor && npm publish" ,
You can’t perform that action at this time.
0 commit comments