no longer test against node 12, add tests against node 18, and use node 18 as default

pull/32/head
Timothée Rebours 2 years ago
parent 26d02731c3
commit 2dd4975c84
  1. 14
      .github/workflows/github-actions-demo.yml
  2. 2
      .github/workflows/publish.yml

@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Node.js 14
- name: Install Node.js 18
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: 18.x
cache: 'npm'
- run: npm ci
- run: npm run lint
@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v2
- name: Install Node.js ${{ matrix.node-version }}
@ -36,10 +36,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Node.js 14
- name: Install Node.js 18
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: 18.x
cache: 'npm'
- name: Install Chrome Stable
uses: browser-actions/setup-chrome@latest
@ -51,10 +51,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Node.js 14
- name: Install Node.js 18
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: 18.x
cache: 'npm'
- run: npm ci
- run: npm run test:react-native

@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.x'
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run prepublishOnly

Loading…
Cancel
Save