File tree Expand file tree Collapse file tree 3 files changed +18
-10
lines changed Expand file tree Collapse file tree 3 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - uses : actions/checkout@v2
12- - uses : actions/setup-node@v1
12+ - uses : actions/setup-node@v2
1313 with :
1414 node-version : 12
1515 registry-url : https://registry.npmjs.org/
Original file line number Diff line number Diff line change 2424 ./node_modules
2525 key : ${{ hashFiles('yarn.lock') }}
2626 - name : Setup node
27- uses : actions/setup-node@v1
27+ uses : actions/setup-node@v2
2828 with :
29- node-version : ' 12.x '
29+ node-version : " 14.x "
3030 - name : Install dependencies
3131 run : yarn --dev && yarn --cwd ./playgrounds/vue
3232 - name : Run Browser tests
@@ -35,23 +35,26 @@ jobs:
3535 # Tests are only done on one playground to avoid long testing time
3636 start : yarn playground:vue
3737 env : playground=vue
38- - uses : actions/upload-artifact@v1
38+ - uses : actions/upload-artifact@v2
3939 if : failure()
4040 with :
4141 name : cypress-screenshots
4242 path : cypress/screenshots
43- - uses : actions/upload-artifact@v1
43+ - uses : actions/upload-artifact@v2
4444 if : failure()
4545 with :
4646 name : cypress-videos
4747 path : cypress/videos
4848
4949 tests :
50- name : integration-tests
5150 runs-on : ubuntu-latest
52-
51+ strategy :
52+ fail-fast : false
53+ matrix :
54+ node : ["12", "14", "16"]
55+ name : integration-tests (Node.js ${{ matrix.node }})
5356 steps :
54- - uses : actions/checkout@v1
57+ - uses : actions/checkout@v2
5558 - name : Cache dependencies
5659 uses : actions/cache@v2
5760 with :
7275 runs-on : ubuntu-latest
7376
7477 steps :
75- - uses : actions/checkout@v1
78+ - uses : actions/checkout@v2
7679 - name : Cache dependencies
7780 uses : actions/cache@v2
7881 with :
Original file line number Diff line number Diff line change 1- status = [' integration-tests' , ' style-check' , ' cypress-run' ]
1+ status = [
2+ ' style-check' ,
3+ ' integration-tests (Node.js 12)' ,
4+ ' integration-tests (Node.js 14)' ,
5+ ' cypress-run'
6+ ]
27# 1 hour timeout
38timeout-sec = 3600
You can’t perform that action at this time.
0 commit comments