mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-01-03 14:17:29 +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:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version:
|
node-version:
|
||||||
- 16.x
|
- 16.x # Changing this? Remind to keep linter conditions below and in publish.yml aligned.
|
||||||
- 14.x # Changing this? Remind to keep linter conditions below and in publish.yml aligned.
|
|
||||||
- 12.x
|
|
||||||
- 10.x
|
- 10.x
|
||||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
@ -28,6 +26,6 @@ jobs:
|
|||||||
# Will also (through `prepare` hook): 1. install ./app, and 2. build
|
# Will also (through `prepare` hook): 1. install ./app, and 2. build
|
||||||
- run: npm install --no-fund
|
- run: npm install --no-fund
|
||||||
# Only run linter once, for faster CI. Align the versions of Node here with above and publish.yml.
|
# 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 run lint
|
||||||
- run: npm test
|
- 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
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
# Align the version of Node here with ci.yml.
|
# Align the version of Node here with ci.yml.
|
||||||
node-version: '14.x'
|
node-version: '16.x'
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
# Will also (through `prepare` hook): 1. install ./app, and 2. build
|
# Will also (through `prepare` hook): 1. install ./app, and 2. build
|
||||||
- run: npm install --no-fund
|
- run: npm install --no-fund
|
||||||
|
Loading…
Reference in New Issue
Block a user