mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-23 11:44:06 -08:00
ci: Replace pnpm/action-setup
action with corepack (no-changelog) (#8504)
This commit is contained in:
parent
528c07134a
commit
d4607381ed
|
@ -16,8 +16,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4.1.1
|
||||
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
|
||||
- run: corepack enable
|
||||
- uses: actions/setup-node@v4.0.1
|
||||
with:
|
||||
node-version: 18.x
|
||||
|
|
3
.github/workflows/check-pr-title.yml
vendored
3
.github/workflows/check-pr-title.yml
vendored
|
@ -18,8 +18,7 @@ jobs:
|
|||
- name: Check out branch
|
||||
uses: actions/checkout@v4.1.1
|
||||
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
|
||||
- run: corepack enable
|
||||
- uses: actions/setup-node@v4.0.1
|
||||
with:
|
||||
node-version: 18.x
|
||||
|
|
6
.github/workflows/ci-master.yml
vendored
6
.github/workflows/ci-master.yml
vendored
|
@ -18,8 +18,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4.1.1
|
||||
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
|
||||
- run: corepack enable
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v4.0.1
|
||||
with:
|
||||
|
@ -64,8 +63,7 @@ jobs:
|
|||
repository: n8n-io/n8n
|
||||
ref: ${{ inputs.branch }}
|
||||
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
|
||||
- run: corepack enable
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v4.0.1
|
||||
with:
|
||||
|
|
6
.github/workflows/ci-postgres-mysql.yml
vendored
6
.github/workflows/ci-postgres-mysql.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.1
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
- run: corepack enable
|
||||
- uses: actions/setup-node@v4.0.1
|
||||
with:
|
||||
node-version: 18.x
|
||||
|
@ -43,7 +43,7 @@ jobs:
|
|||
DB_MYSQLDB_PASSWORD: password
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.1
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
- run: corepack enable
|
||||
- uses: actions/setup-node@v4.0.1
|
||||
with:
|
||||
node-version: 18.x
|
||||
|
@ -76,7 +76,7 @@ jobs:
|
|||
DB_POSTGRESDB_PASSWORD: password
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.1
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
- run: corepack enable
|
||||
- uses: actions/setup-node@v4.0.1
|
||||
with:
|
||||
node-version: 18.x
|
||||
|
|
6
.github/workflows/ci-pull-requests.yml
vendored
6
.github/workflows/ci-pull-requests.yml
vendored
|
@ -12,8 +12,7 @@ jobs:
|
|||
repository: n8n-io/n8n
|
||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
|
||||
- run: corepack enable
|
||||
- name: Use Node.js 18
|
||||
uses: actions/setup-node@v4.0.1
|
||||
with:
|
||||
|
@ -50,8 +49,7 @@ jobs:
|
|||
repository: n8n-io/n8n
|
||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
|
||||
- run: corepack enable
|
||||
- name: Use Node.js 18
|
||||
uses: actions/setup-node@v4.0.1
|
||||
with:
|
||||
|
|
1
.github/workflows/release-create-pr.yml
vendored
1
.github/workflows/release-create-pr.yml
vendored
|
@ -35,7 +35,6 @@ jobs:
|
|||
fetch-depth: 0
|
||||
ref: ${{ github.event.inputs.base-branch }}
|
||||
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
- uses: actions/setup-node@v4.0.1
|
||||
with:
|
||||
node-version: 18.x
|
||||
|
|
2
.github/workflows/release-publish.yml
vendored
2
.github/workflows/release-publish.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
- run: corepack enable
|
||||
- uses: actions/setup-node@v4.0.1
|
||||
with:
|
||||
node-version: 18.x
|
||||
|
|
5
.github/workflows/test-workflows.yml
vendored
5
.github/workflows/test-workflows.yml
vendored
|
@ -23,9 +23,8 @@ jobs:
|
|||
repository: n8n-io/test-workflows
|
||||
path: test-workflows
|
||||
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
with:
|
||||
package_json_file: n8n/package.json
|
||||
- run: corepack enable
|
||||
working-directory: n8n
|
||||
|
||||
- uses: actions/setup-node@v4.0.1
|
||||
with:
|
||||
|
|
3
.github/workflows/units-tests-reusable.yml
vendored
3
.github/workflows/units-tests-reusable.yml
vendored
|
@ -35,8 +35,7 @@ jobs:
|
|||
repository: n8n-io/n8n
|
||||
ref: ${{ inputs.ref }}
|
||||
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
|
||||
- run: corepack enable
|
||||
- name: Use Node.js ${{ inputs.nodeVersion }}
|
||||
uses: actions/setup-node@v4.0.1
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue