Skip to content

Commit 1ffae9d

Browse files
committed
ci(pages): use github.workspace for ci.npmrc path, drop set -u / import probe
Made-with: Cursor
1 parent 636e6be commit 1ffae9d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/deploy-pages.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,10 @@ jobs:
3333
# Vite + Mermaid/Shiki can exceed default Node heap on ubuntu-latest
3434
NODE_OPTIONS: --max-old-space-size=6144
3535
run: |
36-
set -eux
3736
node -v
3837
npm -v
39-
npm install --userconfig "${GITHUB_WORKSPACE}/website/ci.npmrc" --no-audit --no-fund
40-
test -d node_modules/sonner
41-
node --input-type=module -e "import 'sonner'"
38+
npm install --userconfig "${{ github.workspace }}/website/ci.npmrc" --no-audit --no-fund
39+
test -f node_modules/sonner/package.json
4240
npm run build
4341
4442
- uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)