mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-12 16:10:30 +02:00
ci: Run pnpm pack --dry-run on CI to catch workspace errors (#27480)
This commit is contained in:
parent
88f170b95e
commit
468269af04
19
.github/workflows/ci-pull-requests.yml
vendored
19
.github/workflows/ci-pull-requests.yml
vendored
|
|
@ -123,6 +123,24 @@ jobs:
|
|||
with:
|
||||
ref: ${{ needs.install-and-build.outputs.commit_sha }}
|
||||
|
||||
check-packaging:
|
||||
name: Check packaging
|
||||
if: needs.install-and-build.outputs.ci == 'true'
|
||||
runs-on: ${{ vars.RUNNER_PROVIDER == 'github' && 'ubuntu-latest' || 'blacksmith-4vcpu-ubuntu-2204' }}
|
||||
needs: install-and-build
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
ref: ${{ needs.install-and-build.outputs.commit_sha }}
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: ./.github/actions/setup-nodejs
|
||||
|
||||
- name: Check packaging
|
||||
shell: bash
|
||||
run: |
|
||||
pnpm -r pack --dry-run
|
||||
|
||||
e2e-tests:
|
||||
name: E2E Tests
|
||||
needs: install-and-build
|
||||
|
|
@ -186,6 +204,7 @@ jobs:
|
|||
unit-test,
|
||||
typecheck,
|
||||
lint,
|
||||
check-packaging,
|
||||
e2e-tests,
|
||||
db-tests,
|
||||
performance,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
"node": ">=22.16",
|
||||
"pnpm": ">=10.22.0"
|
||||
},
|
||||
"packageManager": "pnpm@10.22.0",
|
||||
"packageManager": "pnpm@10.32.1",
|
||||
"scripts": {
|
||||
"prepare": "node scripts/prepare.mjs",
|
||||
"preinstall": "node scripts/block-npm-install.js",
|
||||
|
|
@ -54,6 +54,7 @@
|
|||
"devDependencies": {
|
||||
"@babel/preset-env": "^7.26.0",
|
||||
"@biomejs/biome": "^1.9.0",
|
||||
"@dotenvx/dotenvx": "^1.40.0",
|
||||
"@n8n/eslint-config": "workspace:*",
|
||||
"@types/jest": "^29.5.3",
|
||||
"@types/node": "*",
|
||||
|
|
@ -67,7 +68,6 @@
|
|||
"jest-junit": "^16.0.0",
|
||||
"jest-mock": "^29.6.2",
|
||||
"jest-mock-extended": "^3.0.4",
|
||||
"@dotenvx/dotenvx": "^1.40.0",
|
||||
"lefthook": "^1.7.15",
|
||||
"license-checker": "^25.0.1",
|
||||
"nock": "^14.0.1",
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ packages:
|
|||
- packages/extensions/**
|
||||
- packages/testing/**
|
||||
|
||||
catalogMode: strict
|
||||
|
||||
catalog:
|
||||
'@azure/identity': 4.13.0
|
||||
'@codemirror/autocomplete': 6.20.0
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user