From 5f678104d82b62c2d213cc6c98173a36d32bda16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 8 Mar 2024 05:06:12 +0100 Subject: [PATCH] Update Node.js in workflows and fix release-please config (#225) * chore: use Node.js 20 for node-gyp integration tests * chore: fix release-please config Refs: https://github.com/google-github-actions/release-please-action/releases/tag/v4.0.0 --- .github/workflows/node-gyp.yml | 2 +- .github/workflows/release-please.yml | 4 +--- release-please-config.json | 5 +++++ 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 release-please-config.json diff --git a/.github/workflows/node-gyp.yml b/.github/workflows/node-gyp.yml index 259aa337..2b535b01 100644 --- a/.github/workflows/node-gyp.yml +++ b/.github/workflows/node-gyp.yml @@ -26,7 +26,7 @@ jobs: path: node-gyp - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 0adab0a7..b4ce1ee1 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -11,6 +11,4 @@ jobs: - uses: google-github-actions/release-please-action@v4 with: token: ${{ secrets.GITHUB_TOKEN }} - release-type: python - package-name: gyp-next - bump-minor-pre-major: true + config-file: release-please-config.json diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 00000000..21e62fc9 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,5 @@ +{ + "release-type": "python", + "package-name": "gyp-next", + "bump-minor-pre-major": true +}