From 1921a0244e91be7c491412e28df8df7c8e278466 Mon Sep 17 00:00:00 2001 From: Shibo Lyu Date: Wed, 21 May 2025 03:41:36 +0800 Subject: [PATCH] ci: Fix checkout step order in publish workflow --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c58b600..a177b6a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,6 +11,9 @@ jobs: contents: read id-token: write # The OIDC ID token is used for authentication with JSR. steps: + - name: Checkout repo + uses: actions/checkout@v4 + - name: Setup Node.js uses: actions/setup-node@v4 with: @@ -18,9 +21,6 @@ jobs: registry-url: "https://registry.npmjs.org" - uses: pnpm/action-setup@v4 - - name: Checkout repo - uses: actions/checkout@v4 - - name: Install dependencies run: pnpm install