File tree Expand file tree Collapse file tree 1 file changed +18
-21
lines changed
Expand file tree Collapse file tree 1 file changed +18
-21
lines changed Original file line number Diff line number Diff line change 11name : Vue Stripe.js CI
22
3- on : [push, pull_request]
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - main
8+
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : true
412
513jobs :
6- build :
14+ ci :
715 runs-on : ubuntu-latest
816
9- strategy :
10- matrix :
11- node-version : [16.x]
12-
1317 steps :
14- - uses : actions/checkout@v2
15-
16- - name : Use Node.js ${{ matrix.node-version }}
17- uses : actions/setup-node@v2
18- with :
19- node-version : ${{ matrix.node-version }}
18+ - uses : actions/checkout@v4
2019
21- - name : Cache NPM
22- uses : actions/cache@v2
20+ - name : Use Node.js
21+ uses : actions/setup-node@v4
2322 with :
24- path : ~/.npm
25- key : ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
26- restore-keys : |
27- ${{ runner.os }}-node-
23+ node-version : 20
24+ cache : ' pnpm'
2825
2926 - name : Install dependencies
30- run : yarn
27+ run : pnpm install
3128
32- - name : Unit Tests
33- run : yarn test
29+ - name : Run CI
30+ run : pnpm run ci
You can’t perform that action at this time.
0 commit comments