Skip to content

Commit c3f7b77

Browse files
committed
chore(ci): always set up node
Make workflow step ids consistent.
1 parent 0217c74 commit c3f7b77

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/deploy-worker.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
ref: ${{ github.event.inputs.commit }}
3939

4040
- name: Check for pnpm-lock.yaml
41-
id: check_pnpm_lock
41+
id: check-pnpm-lock
4242
run: |
4343
directory=${{ inputs.directory }}
4444
file_path="${directory:+${directory}/}pnpm-lock.yaml"
@@ -48,13 +48,12 @@ jobs:
4848
fi
4949
5050
- name: Setup Node.js
51-
if: ${{ steps.check_pnpm_lock.outputs.setup_pnpm == 'true' }}
5251
uses: actions/setup-node@v4
5352
with:
5453
node-version: "20"
5554

5655
- name: Setup PNPM
57-
if: ${{ steps.check_pnpm_lock.outputs.setup_pnpm == 'true' }}
56+
if: ${{ steps.check-pnpm-lock.outputs.setup_pnpm == 'true' }}
5857
uses: pnpm/action-setup@v4
5958

6059
- name: Pull go-toml Docker image

0 commit comments

Comments
 (0)