mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-22 10:08:55 +00:00
CI: test on 12 and **19**, now that 19 is out
This commit is contained in:
parent
ba7244f77a
commit
1fd046798d
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -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 }}
|
||||
|
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user