From b9c9e63759b3e83dc47d1ad43e8925b80c338dc7 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Sun, 12 Oct 2025 15:43:14 +0200 Subject: [PATCH 1/6] ci: simplify node version selector --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0df8b11..c76c3d7 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -6,7 +6,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x] + node-version: [10, 12, 14] steps: - name: Checkout From 3ec0e8fc39d223ad4f06b93bb96d69af04ce4148 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Sun, 12 Oct 2025 15:43:28 +0200 Subject: [PATCH 2/6] ci: update to `actions/checkout@v5` --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index c76c3d7..e9bebea 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Use Node.js ${{matrix.node-version}} uses: actions/setup-node@v1 with: From ea5b51e6b0944b9f67ad169846772b8cf5a5fc46 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Sun, 12 Oct 2025 15:43:45 +0200 Subject: [PATCH 3/6] ci: update to `actions/setup-node@v5` --- .github/workflows/CI.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e9bebea..9af31f7 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -12,19 +12,10 @@ jobs: - name: Checkout uses: actions/checkout@v5 - name: Use Node.js ${{matrix.node-version}} - uses: actions/setup-node@v1 + uses: actions/setup-node@v5 with: node-version: ${{matrix.node-version}} - - name: Cache Node.js modules - uses: actions/cache@v2 - with: - # npm cache files are stored in `~/.npm` on Linux/macOS - path: ~/.npm - key: ${{ runner.OS }}-node-${{matrix.node-version}}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.OS }}-node-${{matrix.node-version}}- - ${{ runner.OS }}-node- - ${{ runner.OS }}- + cache: 'npm' - name: Install dependencies run: npm ci - name: Build From 138dfd27aa8bce95f99e0c9602758d8865bef04c Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Sun, 12 Oct 2025 15:44:51 +0200 Subject: [PATCH 4/6] chore: unbuild automatic publishing (we publish locally, via `np`). --- .github/workflows/PUBLISH.yml | 20 -------------------- package.json | 2 +- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 .github/workflows/PUBLISH.yml diff --git a/.github/workflows/PUBLISH.yml b/.github/workflows/PUBLISH.yml deleted file mode 100644 index 2448fd8..0000000 --- a/.github/workflows/PUBLISH.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: PUBLISH -on: - push: - tags: - - 'v*' - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 14 - - name: Publish - run: | - npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} - npm publish --ignore-scripts - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index 804a648..95eec35 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "all": "run-s lint test", "lint": "eslint .", "test": "mocha --exit -r test/expect test/spec/*.js", - "release": "np --no-publish" + "release": "np" }, "authors": [ "Nico Rehwaldt ", From 11232bd5193ddc5a0369a3974967b72fd4842a5e Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Sun, 12 Oct 2025 15:48:35 +0200 Subject: [PATCH 5/6] ci: test also against not-dead node versions --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 9af31f7..334bba1 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -6,7 +6,7 @@ jobs: strategy: matrix: - node-version: [10, 12, 14] + node-version: [10, 12, 14, 16, 20] steps: - name: Checkout From 32ca5d1104e82e5883db70a2b1872c4508be5fe9 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Sun, 12 Oct 2025 15:52:27 +0200 Subject: [PATCH 6/6] ci: continue other jobs on error --- .github/workflows/CI.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 334bba1..05ab98e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -2,6 +2,7 @@ name: CI on: [ push, pull_request ] jobs: build: + continue-on-error: true runs-on: ubuntu-latest strategy: