From cede78eaa702bea5bf8861d179498ca875148c62 Mon Sep 17 00:00:00 2001 From: Isaac Date: Wed, 26 Oct 2022 17:19:52 +0100 Subject: [PATCH] Update Node.js versions (deprecate v12) --- .github/workflows/publish.yml | 8 ++++---- .github/workflows/test.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2e64926..9a80401 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '16' + node-version: '18' - uses: bahmutov/npm-install@v1 - run: npm run lint @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ '12', '14', '16' ] + node: [ '14', '16', '18' ] name: Node v${{ matrix.node }} test steps: - uses: actions/checkout@v2 @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '16' + node-version: '18' registry-url: https://registry.npmjs.org/ - uses: bahmutov/npm-install@v1 - run: npm run build @@ -51,7 +51,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '16' + node-version: '18' registry-url: https://npm.pkg.github.com/ - uses: bahmutov/npm-install@v1 - run: npm run build diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5ba2f7e..84f59a5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '16' + node-version: '18' - uses: bahmutov/npm-install@v1 - run: npm run lint @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ '12', '14', '16' ] + node: [ '14', '16', '18' ] name: Node v${{ matrix.node }} test steps: - uses: actions/checkout@v2