Skip to content

Commit d266e8b

Browse files
committed
fix: pkg-pr-new.yaml
1 parent e23a289 commit d266e8b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/pkg-pr-new.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
node-version: [19]
15+
node-version: [18]
1616

1717
steps:
1818
- uses: actions/checkout@v4
@@ -29,11 +29,14 @@ jobs:
2929
cache: "pnpm"
3030

3131
- name: Install dependencies
32-
run: pnpm install --frozen-lockfile
32+
run: pnpm install --frozen-lockfile --strict-peer-dependencies=false
3333

3434
- name: Build
35-
continue-on-error: true
36-
run: pnpm build --filter='./packages/scan'
35+
run: |
36+
cd packages/scan
37+
NODE_ENV=production pnpm build
38+
env:
39+
NODE_ENV: production
3740

3841
- name: Publish NPM Package to pkg-pr-new
3942
run: pnpx pkg-pr-new publish ./packages/scan

0 commit comments

Comments
 (0)