Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into external-hooks-in-l…
Browse files Browse the repository at this point in the history
…ifecycle-hooks
  • Loading branch information
netroy committed Feb 3, 2025
2 parents 81a01dd + e39928d commit 9b35264
Show file tree
Hide file tree
Showing 831 changed files with 81,262 additions and 1,508 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/benchmark-destroy-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@ jobs:
tenant-id: ${{ secrets.BENCHMARK_ARM_TENANT_ID }}
subscription-id: ${{ secrets.BENCHMARK_ARM_SUBSCRIPTION_ID }}

- run: corepack enable
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 20.x
cache: 'pnpm'

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/benchmark-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,14 @@ jobs:
with:
terraform_version: '1.8.5'

- run: corepack enable
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 20.x
cache: pnpm

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/check-documentation-urls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ jobs:
steps:
- uses: actions/[email protected]

- run: corepack enable
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 20.x
cache: 'pnpm'

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/check-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ jobs:
- name: Check out branch
uses: actions/[email protected]

- run: corepack enable
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 20.x
cache: 'pnpm'

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,16 @@ jobs:
- uses: actions/[email protected]
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@v4.0.2

- uses: actions/setup-node@v4.2.0
with:
node-version: 20.x
cache: 'pnpm'

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- run: pnpm install --frozen-lockfile

- name: Publish to Chromatic
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ci-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ jobs:
steps:
- uses: actions/[email protected]

- run: corepack enable
- uses: useblacksmith/setup-node@v5
with:
node-version: 20.x
cache: pnpm

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
44 changes: 32 additions & 12 deletions .github/workflows/ci-postgres-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,16 @@ jobs:
if: github.event_name != 'pull_request_review' || startsWith(github.event.pull_request.base.ref, 'release/')
steps:
- uses: actions/[email protected]
- run: corepack enable
- uses: actions/setup-node@v4.0.2

- uses: actions/setup-node@v4.2.0
with:
node-version: 20.x
cache: 'pnpm'

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- run: pnpm install --frozen-lockfile

- name: Setup build cache
Expand All @@ -52,11 +57,16 @@ jobs:
DB_SQLITE_POOL_SIZE: 4
steps:
- uses: actions/[email protected]
- run: corepack enable
- uses: actions/setup-node@v4.0.2

- uses: actions/setup-node@v4.2.0
with:
node-version: 20.x
cache: 'pnpm'

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- run: pnpm install --frozen-lockfile

- name: Setup build cache
Expand All @@ -81,11 +91,16 @@ jobs:
DB_MYSQLDB_PASSWORD: password
steps:
- uses: actions/[email protected]
- run: corepack enable
- uses: actions/setup-node@v4.0.2

- uses: actions/setup-node@v4.2.0
with:
node-version: 20.x
cache: 'pnpm'

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- run: pnpm install --frozen-lockfile

- name: Setup build cache
Expand Down Expand Up @@ -118,11 +133,16 @@ jobs:
DB_POSTGRESDB_POOL_SIZE: 1 # Detect connection pooling deadlocks
steps:
- uses: actions/[email protected]
- run: corepack enable
- uses: actions/setup-node@v4.0.2

- uses: actions/setup-node@v4.2.0
with:
node-version: 20.x
cache: 'pnpm'

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- run: pnpm install --frozen-lockfile

- name: Setup build cache
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ci-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ jobs:
with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge

- run: corepack enable
- uses: useblacksmith/setup-node@v5
with:
node-version: 20.x
cache: pnpm

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/linting-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ jobs:
with:
ref: ${{ inputs.ref }}

- run: corepack enable
- uses: useblacksmith/setup-node@v5
with:
node-version: 20.x
cache: pnpm

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release-create-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,17 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.inputs.base-branch }}

- run: corepack enable
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 20.x

- run: npm install --prefix=.github/scripts --no-package-lock

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- name: Bump package versions
run: |
echo "NEXT_RELEASE=$(node .github/scripts/bump-versions.mjs)" >> $GITHUB_ENV
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@ jobs:
with:
fetch-depth: 0

- run: corepack enable
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 20.x
cache: 'pnpm'

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- run: pnpm install --frozen-lockfile

- name: Set release version in env
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-push-to-channel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/setup-node@v4.0.2
- uses: actions/setup-node@v4.2.0
with:
node-version: 20.x
- run: |
Expand Down
22 changes: 16 additions & 6 deletions .github/workflows/test-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,16 @@ jobs:
!contains(github.event.pull_request.labels.*.name, 'community')
steps:
- uses: actions/[email protected]
- run: corepack enable
- uses: actions/setup-node@v4.0.2

- uses: actions/setup-node@v4.2.0
with:
node-version: 20.x
cache: 'pnpm'

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- run: pnpm install --frozen-lockfile

- name: Setup build cache
Expand All @@ -48,11 +53,16 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/[email protected]
- run: corepack enable
- uses: actions/setup-node@v4.0.2

- uses: actions/setup-node@v4.2.0
with:
node-version: 20.x
cache: 'pnpm'

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- run: pnpm install --frozen-lockfile

- name: Setup build cache
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/units-tests-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,15 @@ jobs:
with:
ref: ${{ inputs.ref }}

- run: corepack enable
- name: Use Node.js ${{ inputs.nodeVersion }}
uses: useblacksmith/setup-node@v5
with:
node-version: ${{ inputs.nodeVersion }}
cache: pnpm

- name: Setup corepack and pnpm
run: |
npm i -g [email protected]
corepack enable
- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ This automatically sets up file-links between modules which depend on each other

We recommend enabling [Node.js corepack](https://nodejs.org/docs/latest-v16.x/api/corepack.html) with `corepack enable`.

With Node.js v16.17 or newer, you can install the latest version of pnpm: `corepack prepare pnpm@latest --activate`. If you use an older version install at least version 7.18 of pnpm via: `corepack prepare pnpm@7.18.0 --activate`.
With Node.js v16.17 or newer, you can install the latest version of pnpm: `corepack prepare pnpm@latest --activate`. If you use an older version install at least version 9.15 of pnpm via: `corepack prepare pnpm@9.15.5 --activate`.

**IMPORTANT**: If you have installed Node.js via homebrew, you'll need to run `brew install corepack`, since homebrew explicitly removes `npm` and `corepack` from [the `node` formula](https://github.com/Homebrew/homebrew-core/blob/master/Formula/node.rb#L66).

Expand Down
2 changes: 1 addition & 1 deletion docker/images/n8n-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN apk add --update git openssh graphicsmagick tini tzdata ca-certificates libc

# Update npm and install full-uci
COPY .npmrc /usr/local/etc/npmrc
RUN npm install -g [email protected] [email protected]
RUN npm install -g [email protected] [email protected] [email protected]

# Activate corepack, and install pnpm
WORKDIR /tmp
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"node": ">=20.15",
"pnpm": ">=9.15"
},
"packageManager": "[email protected].1",
"packageManager": "[email protected].5",
"scripts": {
"prepare": "node scripts/prepare.mjs",
"preinstall": "node scripts/block-npm-install.js",
Expand Down
1 change: 1 addition & 0 deletions packages/@n8n/api-types/src/dto/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export { CredentialsGetOneRequestQuery } from './credentials/credentials-get-one
export { CredentialsGetManyRequestQuery } from './credentials/credentials-get-many-request.dto';

export { ImportWorkflowFromUrlDto } from './workflows/import-workflow-from-url.dto';
export { ManualRunQueryDto } from './workflows/manual-run-query.dto';

export { CreateOrUpdateTagRequestDto } from './tag/create-or-update-tag-request.dto';
export { RetrieveTagQueryDto } from './tag/retrieve-tag-query.dto';
Expand Down
Loading

0 comments on commit 9b35264

Please sign in to comment.