ci: Replace pnpm/action-setup action with corepack (no-changelog) (#8504)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2024-02-02 09:47:58 +01:00 committed by GitHub
parent 528c07134a
commit d4607381ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 13 additions and 22 deletions

View file

@ -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

View file

@ -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

View file

@ -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:

View file

@ -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

View file

@ -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:

View file

@ -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

View file

@ -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

View file

@ -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:

View file

@ -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: