From ddc85dc71c99b48c844ed43c48a3d5f36ade38d9 Mon Sep 17 00:00:00 2001 From: Chris Needham Date: Wed, 6 Dec 2023 20:57:27 +0000 Subject: [PATCH] Updated GitHub Actions --- .github/workflows/node.js.yml | 4 +--- .github/workflows/npm-publish.yml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index ea9148e..9c048b2 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -18,7 +18,6 @@ jobs: strategy: matrix: include: - - node-version: 14.x - node-version: 16.x - node-version: 18.x - node-version: 20.x @@ -33,9 +32,8 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - run: npm install -g npm@latest - run: npm ci - - run: npm run build --if-present + - run: npm run build - if: ${{ matrix.browser }} run: npm run test-browsers -- --browsers=${{ matrix.browser }} - if: ${{ !matrix.browser }} diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 0a670ab..3f19e3b 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -16,7 +16,6 @@ jobs: strategy: matrix: include: - - node-version: 14.x - node-version: 16.x - node-version: 18.x - node-version: 20.x @@ -31,7 +30,6 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - run: npm install -g npm@latest - run: npm ci - run: npm run build --if-present - if: ${{ matrix.browser }} @@ -47,7 +45,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 14.x + node-version: 20.x registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm publish