From 541c18e0d554fc6c136c20f3445037e0461ffe7f Mon Sep 17 00:00:00 2001 From: Alex Lanz Date: Fri, 15 Mar 2024 15:50:31 +0100 Subject: [PATCH 1/3] update engines --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index dd73504..f4dcffa 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "./react": "./tsconfig.react.json" }, "engines": { - "npm": ">=8", - "node": ">=16" + "npm": "^8 || ^9 || ^10", + "node": "^16 || ^18 || ^20" }, "scripts": { "postversion": "git push && git push --tags" From 09fbd20fdbcdbf272d2b0cd1cdb43ebbaa09c53a Mon Sep 17 00:00:00 2001 From: Alex Lanz Date: Mon, 18 Mar 2024 08:10:16 +0100 Subject: [PATCH 2/3] update GitHub actions --- .github/workflows/release.yml | 8 ++++---- package.json | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad8758b..419d92a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,15 +6,15 @@ on: - 'v*' env: - NODE_VERSION: 16 + NODE_VERSION: 20 jobs: build: runs-on: ubuntu-22.04 timeout-minutes: 5 steps: - - uses: actions/checkout@v3 - - uses: actions/github-script@v6 + - uses: actions/checkout@v4 + - uses: actions/github-script@v7 with: script: | github.rest.repos.createRelease({ @@ -23,7 +23,7 @@ jobs: tag_name: '${{ github.ref }}', name: 'Release ${{ github.ref_name }}' }) - - uses: aboutbits/github-actions-node/setup-and-install@v1 + - uses: aboutbits/github-actions-node/setup-and-install@v2 with: node-version: ${{ env.NODE_VERSION }} registry-url: 'https://registry.npmjs.org' diff --git a/package.json b/package.json index f4dcffa..35fbcc8 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "./react": "./tsconfig.react.json" }, "engines": { - "npm": "^8 || ^9 || ^10", - "node": "^16 || ^18 || ^20" + "npm": "^8", + "node": "^16" }, "scripts": { "postversion": "git push && git push --tags" From 06a49415ade4d9b7ede44065236b4c976041981b Mon Sep 17 00:00:00 2001 From: Alex Lanz Date: Mon, 18 Mar 2024 09:39:50 +0100 Subject: [PATCH 3/3] update engines --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 35fbcc8..dd73504 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "./react": "./tsconfig.react.json" }, "engines": { - "npm": "^8", - "node": "^16" + "npm": ">=8", + "node": ">=16" }, "scripts": { "postversion": "git push && git push --tags"