Skip to content

Commit 83d239a

Browse files
authored
chore(🐙): update npm auth debug workflow (#3624)
1 parent a059441 commit 83d239a

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/npm-debug-workflow.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -103,19 +103,22 @@ jobs:
103103
echo "=== Organization membership check ==="
104104
npm org ls shopify 2>&1 || echo "Could not list org members (may not have permission)"
105105
106+
- name: Setup
107+
uses: ./.github/actions/setup
108+
with:
109+
github_token: ${{ secrets.GITHUB_TOKEN }}
110+
106111
- name: Debug - Dry run publish test
107112
run: |
108113
echo "=== Attempting dry-run publish ==="
109114
echo "This will NOT actually publish, just test if it would work"
110-
111-
# Build if necessary (adjust based on your setup)
112-
if [ -f package.json ] && grep -q '"build"' package.json; then
113-
echo "Running build first..."
114-
npm ci
115-
npm run build || echo "Build step failed or not applicable"
116-
fi
117-
118-
# Try dry-run publish
115+
116+
# Build the project using yarn (this is a yarn monorepo)
117+
echo "Running build first..."
118+
yarn build || echo "Build step failed or not applicable"
119+
120+
# Try dry-run publish from the skia package
121+
cd packages/skia
119122
npm publish --dry-run --provenance --access public 2>&1 || true
120123
121124
- name: Debug - Check provenance requirements

0 commit comments

Comments
 (0)