From 1ea53b48111f8c57b07cd0c8ec2df6647c795fee Mon Sep 17 00:00:00 2001 From: Claire Saba Date: Wed, 14 Feb 2024 14:55:55 +0100 Subject: [PATCH] chore(workflow): update actions in workflows --- .github/workflows/check_build.yml | 8 ++++---- .github/workflows/release.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check_build.yml b/.github/workflows/check_build.yml index 7bf3467..3c56b06 100644 --- a/.github/workflows/check_build.yml +++ b/.github/workflows/check_build.yml @@ -9,11 +9,11 @@ jobs: name: Lint commits runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # we actually need "github.event.pull_request.commits + 1" commit fetch-depth: 0 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 - run: npm ci - run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose check: @@ -22,11 +22,11 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.10.0 - name: Install dependencies diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 023f22b..6b66572 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,9 +9,9 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.10.0 - name: Install dependencies