CI: test on 12 and **19**, now that 19 is out

This commit is contained in:
Ronan Jouchet 2022-11-07 17:34:20 -05:00
parent ba7244f77a
commit 1fd046798d
2 changed files with 7 additions and 7 deletions

View File

@ -19,10 +19,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18
- name: Use Node.js 19
uses: actions/setup-node@v2
with:
node-version: 18
node-version: 19
cache: 'npm'
cache-dependency-path: |
npm-shrinkwrap.json
@ -37,10 +37,10 @@ jobs:
runs-on: windows-latest # Doesn't work on headless ubuntu, and is slow on mac
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18
- name: Use Node.js 19
uses: actions/setup-node@v2
with:
node-version: 18
node-version: 19
cache: 'npm'
cache-dependency-path: |
npm-shrinkwrap.json
@ -59,7 +59,7 @@ jobs:
strategy:
matrix:
node-version:
- '18'
- '19'
- '12' # the oldest we require in package.json -> engines.node, to check we run on this minimum
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}

View File

@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1 # Setup .npmrc file to publish to npm
with:
node-version: '18' # Align the version of Node here with ci.yml.
node-version: '19' # Align the version of Node here with ci.yml.
registry-url: 'https://registry.npmjs.org'
- run: npm ci --no-fund # Will also (via `prepare` hook): 1. install ./app, 2. build
- run: npm run test:playwright
@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1 # Setup .npmrc file to publish to npm
with:
node-version: '18' # Align the version of Node here with ci.yml.
node-version: '19' # Align the version of Node here with ci.yml.
registry-url: 'https://registry.npmjs.org'
- run: npm ci --no-fund # Will also (via `prepare` hook): 1. install ./app, 2. build
- run: npm run test:noplaywright