-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Fix versions of all external Github actions (no-changelog) (#6984)
- Loading branch information
Showing
16 changed files
with
124 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,12 +16,12 @@ jobs: | |
node-version: [18.x, 20.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v3.5.3 | ||
|
||
- uses: pnpm/action-setup@v2.2.4 | ||
- uses: pnpm/action-setup@v2.4.0 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v3.7.0 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: pnpm | ||
|
@@ -33,13 +33,9 @@ jobs: | |
run: pnpm build | ||
|
||
- name: Cache build artifacts | ||
uses: actions/cache@v3 | ||
uses: actions/cache/save@v3.3.1 | ||
with: | ||
path: | | ||
/github/home/.cache | ||
/github/home/.pnpm-store | ||
./node_modules | ||
./packages | ||
path: ./packages/**/dist | ||
key: ${{ github.sha }}-base:${{ matrix.node-version }}-test-lint | ||
|
||
unit-test: | ||
|
@@ -50,29 +46,28 @@ jobs: | |
matrix: | ||
node-version: [18.x, 20.x] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v3.5.3 | ||
with: | ||
repository: n8n-io/n8n | ||
ref: ${{ inputs.branch }} | ||
|
||
- name: Restore cached build artifacts | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
/github/home/.cache | ||
/github/home/.pnpm-store | ||
./node_modules | ||
./packages | ||
key: ${{ github.sha }}-base:${{ matrix.node-version }}-test-lint | ||
|
||
- uses: pnpm/[email protected] | ||
- uses: pnpm/[email protected] | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v3.7.0 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Restore cached build artifacts | ||
uses: actions/cache/[email protected] | ||
with: | ||
path: ./packages/**/dist | ||
key: ${{ github.sha }}-base:${{ matrix.node-version }}-test-lint | ||
|
||
- name: Test | ||
run: pnpm test | ||
|
||
|
@@ -89,29 +84,28 @@ jobs: | |
matrix: | ||
node-version: [18.x, 20.x] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v3.5.3 | ||
with: | ||
repository: n8n-io/n8n | ||
ref: ${{ inputs.branch }} | ||
|
||
- name: Restore cached build artifacts | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
/github/home/.cache | ||
/github/home/.pnpm-store | ||
./node_modules | ||
./packages | ||
key: ${{ github.sha }}-base:${{ matrix.node-version }}-test-lint | ||
|
||
- uses: pnpm/[email protected] | ||
- uses: pnpm/[email protected] | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v3.7.0 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Restore cached build artifacts | ||
uses: actions/cache/[email protected] | ||
with: | ||
path: ./packages/**/dist | ||
key: ${{ github.sha }}-base:${{ matrix.node-version }}-test-lint | ||
|
||
- name: Lint | ||
env: | ||
CI_LINT_MASTER: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,15 @@ jobs: | |
name: Install & Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v3.5.3 | ||
with: | ||
repository: n8n-io/n8n | ||
ref: ${{ inputs.branch }} | ||
|
||
- uses: pnpm/action-setup@v2.2.4 | ||
- uses: pnpm/action-setup@v2.4.0 | ||
|
||
- name: Use Node.js 18 | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v3.7.0 | ||
with: | ||
node-version: 18.x | ||
cache: pnpm | ||
|
@@ -27,43 +27,38 @@ jobs: | |
run: pnpm build | ||
|
||
- name: Cache build artifacts | ||
uses: actions/cache@v3 | ||
uses: actions/cache/save@v3.3.1 | ||
with: | ||
path: | | ||
/github/home/.cache | ||
/github/home/.pnpm-store | ||
./node_modules | ||
./packages | ||
path: ./packages/**/dist | ||
key: ${{ github.sha }}-base:18-test-lint | ||
|
||
unit-test: | ||
name: Unit tests | ||
runs-on: ubuntu-latest | ||
needs: install | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v3.5.3 | ||
with: | ||
repository: n8n-io/n8n | ||
ref: ${{ inputs.branch }} | ||
|
||
- name: Restore cached build artifacts | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
/github/home/.cache | ||
/github/home/.pnpm-store | ||
./node_modules | ||
./packages | ||
key: ${{ github.sha }}-base:18-test-lint | ||
|
||
- uses: pnpm/[email protected] | ||
- uses: pnpm/[email protected] | ||
|
||
- name: Use Node.js 18 | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v3.7.0 | ||
with: | ||
node-version: 18.x | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Restore cached build artifacts | ||
uses: actions/cache/[email protected] | ||
with: | ||
path: ./packages/**/dist | ||
key: ${{ github.sha }}-base:18-test-lint | ||
|
||
- name: Test | ||
run: pnpm test | ||
|
||
|
@@ -77,29 +72,28 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: install | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v3.5.3 | ||
with: | ||
repository: n8n-io/n8n | ||
ref: ${{ inputs.branch }} | ||
|
||
- name: Restore cached build artifacts | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
/github/home/.cache | ||
/github/home/.pnpm-store | ||
./node_modules | ||
./packages | ||
key: ${{ github.sha }}-base:18-test-lint | ||
|
||
- uses: pnpm/[email protected] | ||
- uses: pnpm/[email protected] | ||
|
||
- name: Use Node.js 18 | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v3.7.0 | ||
with: | ||
node-version: 18.x | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Restore cached build artifacts | ||
uses: actions/cache/[email protected] | ||
with: | ||
path: ./packages/**/dist | ||
key: ${{ github.sha }}-base:18-test-lint | ||
|
||
- name: Fetch base branch for `git diff` | ||
run: git fetch origin ${{ github.event.pull_request.base.ref }}:${{ github.event.pull_request.base.ref }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.