From 7b950bb9d5b89823e03fd38625d85ffbd3450401 Mon Sep 17 00:00:00 2001 From: Ain Tohvri Date: Sat, 21 Oct 2023 14:24:43 +0200 Subject: [PATCH 1/3] Add support for Node.js v21 --- .github/workflows/build.yml | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e803f30d..36dd9b24 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - node: [16, 17, 18, 19, 20] + node: [16, 17, 18, 19, 20, 21] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node }} diff --git a/package.json b/package.json index d80103d6..55fd2184 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "smartbanner.js", - "version": "1.19.3", + "version": "1.20.0", "description": "Customisable smart app banner for iOS and Android", "homepage": "https://github.com/ain/smartbanner.js#readme", "author": { @@ -33,7 +33,7 @@ "watchify": "^4.0.0" }, "engines": { - "node": ">=10.24.1 <21.0.0" + "node": ">=10.24.1 <22.0.0" }, "repository": { "type": "git", From d299ddb38f1c584f233b750506333fcf78a7ccf7 Mon Sep 17 00:00:00 2001 From: Ain Tohvri Date: Sun, 29 Oct 2023 19:24:37 +0100 Subject: [PATCH 2/3] Roll back the CI triggers Node.js v21 was not triggering from PR --- .github/workflows/build.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf3dd4c2..8db463bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,18 +1,7 @@ name: Node.js CI on: - push: - tags: - - v*.* - branches: - - main - paths-ignore: - - '**.md' - - '**.png' - - '**.svg' - pull_request_target: - branches: - - main + on: [push, pull_request] jobs: test: From e16a24cf57f1c6dc1f0f2167dc844999411c4574 Mon Sep 17 00:00:00 2001 From: Ain Tohvri Date: Sun, 29 Oct 2023 19:26:37 +0100 Subject: [PATCH 3/3] Fix on trigger for CI --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8db463bb..5374d08f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,6 @@ name: Node.js CI -on: - on: [push, pull_request] +on: [push, pull_request] jobs: test: