Skip to content

Commit

Permalink
ci: Replace pnpm/action-setup action with corepack (no-changelog)
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy committed Jan 31, 2024
1 parent 670af16 commit a804b09
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 22 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check-documentation-urls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/check-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/ci-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-postgres-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/ci-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release-create-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/units-tests-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a804b09

Please sign in to comment.