mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-22 18:18:55 +00:00
CI: run less node versions, oldest supported / latest is enough
This commit is contained in:
parent
09accbd28a
commit
9f561c0091
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -13,9 +13,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
node-version:
|
||||
- 16.x
|
||||
- 14.x # Changing this? Remind to keep linter conditions below and in publish.yml aligned.
|
||||
- 12.x
|
||||
- 16.x # Changing this? Remind to keep linter conditions below and in publish.yml aligned.
|
||||
- 10.x
|
||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
||||
runs-on: ${{ matrix.platform }}
|
||||
@ -28,6 +26,6 @@ jobs:
|
||||
# Will also (through `prepare` hook): 1. install ./app, and 2. build
|
||||
- run: npm install --no-fund
|
||||
# Only run linter once, for faster CI. Align the versions of Node here with above and publish.yml.
|
||||
- if: matrix.platform == 'ubuntu-latest' && matrix.node-version == '14.x'
|
||||
- if: matrix.platform == 'ubuntu-latest' && matrix.node-version == '16.x'
|
||||
run: npm run lint
|
||||
- run: npm test
|
||||
|
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
# Align the version of Node here with ci.yml.
|
||||
node-version: '14.x'
|
||||
node-version: '16.x'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
# Will also (through `prepare` hook): 1. install ./app, and 2. build
|
||||
- run: npm install --no-fund
|
||||
|
Loading…
Reference in New Issue
Block a user