|
11 | 11 | fail-fast: false |
12 | 12 | matrix: |
13 | 13 | include: |
| 14 | + - name: "Linux: Node 18" |
| 15 | + os: ubuntu-20.04 |
| 16 | + node: 18.x |
| 17 | + script: npm run test-nolint |
| 18 | + |
14 | 19 | - name: "Linux: Node 16" |
15 | 20 | # Includes 'firefox', 'chromium', and more. |
16 | 21 | # https://github.com/actions/virtual-environments/blob/ubuntu20/20220410.2/images/linux/Ubuntu2004-Readme.md |
|
38 | 43 |
|
39 | 44 | - name: "Integration" |
40 | 45 | os: ubuntu-20.04 |
41 | | - node: 14.x |
| 46 | + node: 16.x |
42 | 47 | script: npm run test-integration |
43 | 48 |
|
44 | 49 | - name: "Windows: Node 16" |
|
57 | 62 | PUPPETEER_DOWNLOAD_PATH: "${{ github.workspace }}/.puppeteer_download" |
58 | 63 | FORCE_COLOR: "1" |
59 | 64 | steps: |
60 | | - - uses: actions/checkout@v2 |
| 65 | + - uses: actions/checkout@v3 |
61 | 66 |
|
62 | | - - uses: actions/cache@v2 |
| 67 | + - uses: actions/cache@v3 |
63 | 68 | if: ${{ runner.os != 'Windows' }} |
64 | 69 | with: |
65 | 70 | path: | |
|
68 | 73 | key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} |
69 | 74 |
|
70 | 75 | - name: Use Node.js ${{ matrix.node }} |
71 | | - uses: actions/setup-node@v2 |
| 76 | + uses: actions/setup-node@v3.5.0 |
72 | 77 | with: |
73 | 78 | node-version: ${{ matrix.node }} |
74 | 79 |
|
@@ -100,17 +105,17 @@ jobs: |
100 | 105 | env: |
101 | 106 | PUPPETEER_DOWNLOAD_PATH: "${{ github.workspace }}/.puppeteer_download" |
102 | 107 | steps: |
103 | | - - uses: actions/checkout@v2 |
104 | | - - uses: actions/cache@v2 |
| 108 | + - uses: actions/checkout@v3 |
| 109 | + - uses: actions/cache@v3 |
105 | 110 | with: |
106 | 111 | path: | |
107 | 112 | ~/.npm |
108 | 113 | ${{ github.workspace }}/.puppeteer_download |
109 | 114 | key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} |
110 | | - - name: Use Node.js 10 |
111 | | - uses: actions/setup-node@v2 |
| 115 | + - name: Use Node.js 16 |
| 116 | + uses: actions/setup-node@v3.5.0 |
112 | 117 | with: |
113 | | - node-version: 10.x |
| 118 | + node-version: 16.x |
114 | 119 | - name: Install mozjs |
115 | 120 | run: | |
116 | 121 | sudo apt-fast install -y libmozjs-68-dev |
|
0 commit comments