Skip to content

Commit 4f971fc

Browse files
committed
🔧 fix(action): remove redundant debug steps from action.yml
1 parent 8a585e8 commit 4f971fc

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

‎action.yml‎

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,46 @@ description: Common setup and test steps for all workflows
66
runs:
77
using: "composite"
88
steps:
9+
10+
- name: Initial Debug Show working directory and package.json
11+
run: |
12+
pwd && ls -al && cat package.json
13+
shell: bash
14+
915
- name: Checkout code
1016
uses: actions/checkout@v4.2.2
1117

12-
- name: PNPM
13-
run: corepack enable && corepack prepare pnpm@latest --activate
18+
- name: Post checkout Debug Show working directory and package.json
19+
run: |
20+
pwd && ls -al && cat package.json
1421
shell: bash
1522

23+
# - name: PNPM
24+
# run: corepack enable && corepack prepare pnpm@latest --activate
25+
# run: corepack enable && corepack prepare pnpm@latest --activate
26+
# shell: bash
27+
1628
- name: Setup pnpm
1729
uses: pnpm/action-setup@v4
1830
with:
1931
version: latest
2032

33+
- name: Debug after pnpm action setup, Show working directory and package.json
34+
run: |
35+
pwd && ls -al && cat package.json
36+
shell: bash
37+
2138
- name: Setup CI, Build and Test Package
2239
uses: actions/setup-node@v4
2340
with:
2441
node-version: "lts/*"
2542
cache: "pnpm"
2643

44+
- name: Debug post node, Show working directory and package.json
45+
run: |
46+
pwd && ls -al && cat package.json
47+
shell: bash
48+
2749
- name: Debug pnpm environment
2850
run: |
2951
echo "PATH: $PATH"
@@ -47,6 +69,11 @@ runs:
4769
run: pnpm install --frozen-lockfile --loglevel debug
4870
shell: bash
4971

72+
- name: Debug post install, Show working directory and package.json
73+
run: |
74+
pwd && ls -al && cat package.json
75+
shell: bash
76+
5077
- name: Run lint
5178
run: |
5279
if [ "$RUN_LINT" = "1" ]; then

0 commit comments

Comments
 (0)