CI: test on 12 and **19**, now that 19 is out
This commit is contained in:
parent
ba7244f77a
commit
1fd046798d
|
@ -19,10 +19,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js 18
|
- name: Use Node.js 19
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 19
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
npm-shrinkwrap.json
|
npm-shrinkwrap.json
|
||||||
|
@ -37,10 +37,10 @@ jobs:
|
||||||
runs-on: windows-latest # Doesn't work on headless ubuntu, and is slow on mac
|
runs-on: windows-latest # Doesn't work on headless ubuntu, and is slow on mac
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js 18
|
- name: Use Node.js 19
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 19
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
npm-shrinkwrap.json
|
npm-shrinkwrap.json
|
||||||
|
@ -59,7 +59,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version:
|
node-version:
|
||||||
- '18'
|
- '19'
|
||||||
- '12' # the oldest we require in package.json -> engines.node, to check we run on this minimum
|
- '12' # the oldest we require in package.json -> engines.node, to check we run on this minimum
|
||||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
|
|
|
@ -10,7 +10,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1 # Setup .npmrc file to publish to npm
|
- uses: actions/setup-node@v1 # Setup .npmrc file to publish to npm
|
||||||
with:
|
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'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
- run: npm ci --no-fund # Will also (via `prepare` hook): 1. install ./app, 2. build
|
- run: npm ci --no-fund # Will also (via `prepare` hook): 1. install ./app, 2. build
|
||||||
- run: npm run test:playwright
|
- run: npm run test:playwright
|
||||||
|
@ -23,7 +23,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1 # Setup .npmrc file to publish to npm
|
- uses: actions/setup-node@v1 # Setup .npmrc file to publish to npm
|
||||||
with:
|
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'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
- run: npm ci --no-fund # Will also (via `prepare` hook): 1. install ./app, 2. build
|
- run: npm ci --no-fund # Will also (via `prepare` hook): 1. install ./app, 2. build
|
||||||
- run: npm run test:noplaywright
|
- run: npm run test:noplaywright
|
||||||
|
|
Loading…
Reference in New Issue