chore(ci): test against node@12 (minimum) and node@14 (lts)

This commit is contained in:
Pooya Parsa 2021-02-13 11:56:38 +01:00
parent 53c40b9db2
commit dc1c56732f
3 changed files with 11 additions and 11 deletions

View File

@ -16,7 +16,7 @@ jobs:
run: git fetch --depth=1 origin "+refs/tags/*:refs/tags/*"
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: 14
registry-url: 'https://registry.npmjs.org'
- name: install
run: yarn --check-files --frozen-lockfile --non-interactive

View File

@ -19,7 +19,7 @@ jobs:
matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
node: [10, 12]
node: [12, 14]
steps:
- uses: actions/setup-node@v2
@ -63,7 +63,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [12]
node: [14]
steps:
- uses: actions/setup-node@v2
@ -96,7 +96,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [12]
node: [14]
steps:
- uses: actions/setup-node@v2
@ -127,7 +127,7 @@ jobs:
matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
node: [10, 12]
node: [12, 14]
steps:
- uses: actions/setup-node@v2
@ -165,7 +165,7 @@ jobs:
matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
node: [10, 12]
node: [12, 14]
env:
NODE_OPTIONS: "--max_old_space_size=4096"
@ -204,7 +204,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [12]
node: [14]
steps:
- uses: actions/setup-node@v2
@ -241,7 +241,7 @@ jobs:
matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
node: [10, 12]
node: [12, 14]
steps:
- uses: actions/setup-node@v2
@ -278,7 +278,7 @@ jobs:
matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
node: [10, 12]
node: [12, 14]
steps:
- uses: actions/setup-node@v2
@ -314,7 +314,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [12]
node: [14]
steps:
- name: checkout

View File

@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
os: [windows-latest]
node: [12]
node: [14]
steps:
- uses: actions/setup-node@v2