From 2dd4975c84afb81b4debe5a8b3345b82e25f8039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Rebours?= Date: Thu, 19 Jan 2023 16:42:23 +0100 Subject: [PATCH] no longer test against node 12, add tests against node 18, and use node 18 as default --- .github/workflows/github-actions-demo.yml | 14 +++++++------- .github/workflows/publish.yml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml index f049216..40ad3fb 100644 --- a/.github/workflows/github-actions-demo.yml +++ b/.github/workflows/github-actions-demo.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 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 75cb9b1..6733a13 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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