From e375c3d5559b25bda607408f1cfd814743bad955 Mon Sep 17 00:00:00 2001 From: Martin Kankaanranta <55850510+norkator@users.noreply.github.com> Date: Fri, 1 Dec 2023 21:53:47 +0200 Subject: [PATCH] run lint, test and publish using node 20 only --- .github/workflows/lint-test-build.yml | 2 +- .github/workflows/publish-package.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint-test-build.yml b/.github/workflows/lint-test-build.yml index 213e974..1c24302 100644 --- a/.github/workflows/lint-test-build.yml +++ b/.github/workflows/lint-test-build.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x] + node-version: [20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 9cfc77a..ca6c020 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - run: npm install - run: npm run lint - run: npm run test @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 registry-url: https://registry.npmjs.org/ - run: npm install - run: npm run build