From 32abeea3962cd2990cb38a8d48a5ce91a8229573 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Mon, 24 Feb 2025 11:41:26 +0000 Subject: [PATCH] ci: update github actions --- .github/workflows/ci.yml | 2 +- .github/workflows/pr.yml | 4 ++-- .github/workflows/release-please.yml | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed107eb..c5211c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [18.18.0, 18.x, 20.x, 21.x] + node: [18.18.0, 18.x, 20.x, 22.x] include: - os: windows-latest node: lts/* diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 3df255d..6923064 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -8,10 +8,10 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 - uses: beemojs/conventional-pr-action@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 1e89298..e743e84 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -17,13 +17,13 @@ jobs: release-type: node package-name: test-release-please # The logic below handles the npm publication: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # these if statements ensure that a publication only occurs when # a new release is created: if: ${{ steps.release.outputs.release_created }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 18 registry-url: 'https://registry.npmjs.org' if: ${{ steps.release.outputs.release_created }} - run: npm ci