From ecf0079032a6055b56c2e57b2de4609ddef24f49 Mon Sep 17 00:00:00 2001 From: Shubham Thanki Date: Wed, 15 Apr 2026 11:26:17 +0530 Subject: [PATCH] fix: update GitHub Actions workflows to use latest checkout and setup-node actions --- .github/workflows/draft-or-update-next-release.yml | 4 ++-- .github/workflows/publish.yml | 4 ++-- .github/workflows/pull-request.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/draft-or-update-next-release.yml b/.github/workflows/draft-or-update-next-release.yml index d877f25..044c47c 100644 --- a/.github/workflows/draft-or-update-next-release.yml +++ b/.github/workflows/draft-or-update-next-release.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Capture package version shell: bash @@ -29,7 +29,7 @@ jobs: echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> "$GITHUB_ENV" - name: Update release draft - uses: release-drafter/release-drafter@v6 + uses: release-drafter/release-drafter@v7 with: name: v${{ env.PACKAGE_VERSION }} tag: v${{ env.PACKAGE_VERSION }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7f069d4..2108718 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,10 +15,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: 22 registry-url: https://registry.npmjs.org diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 3fb5aac..1528574 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -11,12 +11,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: 22 cache: npm