updates
This commit is contained in:
parent
acaea3bdbd
commit
28c8e85b24
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
@ -22,30 +22,14 @@ jobs:
|
||||
node -v
|
||||
npm -v
|
||||
|
||||
- name: Capture node path
|
||||
run: echo "NODE_BIN=$(dirname \"$(node -p \"process.execPath\")\")" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Enable corepack and pin pnpm
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@10.23.0 --activate
|
||||
pnpm -v
|
||||
|
||||
- name: Install dependencies
|
||||
env:
|
||||
CI: true
|
||||
run: |
|
||||
export PATH="$NODE_BIN:$PATH"
|
||||
which node
|
||||
node -v
|
||||
pnpm -v
|
||||
pnpm install --ignore-scripts=false --config.engine-strict=false --config.enable-pre-post-scripts=true || pnpm install --ignore-scripts=false --config.engine-strict=false --config.enable-pre-post-scripts=true
|
||||
run: npm ci
|
||||
|
||||
- name: Lint
|
||||
run: pnpm lint
|
||||
run: npm run lint
|
||||
|
||||
- name: Test
|
||||
run: pnpm test
|
||||
run: npm test
|
||||
|
||||
- name: Build
|
||||
run: pnpm build
|
||||
run: npm run build
|
||||
|
||||
Loading…
Reference in New Issue
Block a user