mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
ci: Update GH actions (no-changelog) (#8453)
This commit is contained in:
committed by
GitHub
parent
5981263b73
commit
e5514793f6
@@ -14,11 +14,11 @@ jobs:
|
|||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v4.1.1
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v2.4.0
|
- uses: pnpm/action-setup@v2.4.0
|
||||||
|
|
||||||
- uses: actions/setup-node@v3.7.0
|
- uses: actions/setup-node@v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
|
|||||||
6
.github/workflows/check-pr-title.yml
vendored
6
.github/workflows/check-pr-title.yml
vendored
@@ -16,11 +16,11 @@ jobs:
|
|||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- name: Check out branch
|
- name: Check out branch
|
||||||
uses: actions/checkout@v3.5.3
|
uses: actions/checkout@v4.1.1
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v2.4.0
|
- uses: pnpm/action-setup@v2.4.0
|
||||||
|
|
||||||
- uses: actions/setup-node@v3.7.0
|
- uses: actions/setup-node@v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
@@ -30,6 +30,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Validate PR title
|
- name: Validate PR title
|
||||||
id: validate_pr_title
|
id: validate_pr_title
|
||||||
uses: n8n-io/validate-n8n-pull-request-title@v1.3
|
uses: n8n-io/validate-n8n-pull-request-title@v2.0.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
4
.github/workflows/check-tests.yml
vendored
4
.github/workflows/check-tests.yml
vendored
@@ -15,12 +15,12 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3.5.3
|
uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v3.7.0
|
uses: actions/setup-node@v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
|
|
||||||
|
|||||||
12
.github/workflows/ci-master.yml
vendored
12
.github/workflows/ci-master.yml
vendored
@@ -16,12 +16,12 @@ jobs:
|
|||||||
node-version: [18.x, 20.x]
|
node-version: [18.x, 20.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v4.1.1
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v2.4.0
|
- uses: pnpm/action-setup@v2.4.0
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v3.7.0
|
uses: actions/setup-node@v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
cache: pnpm
|
cache: pnpm
|
||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
run: pnpm build
|
run: pnpm build
|
||||||
|
|
||||||
- name: Cache build artifacts
|
- name: Cache build artifacts
|
||||||
uses: actions/cache/save@v3.3.1
|
uses: actions/cache/save@v4.0.0
|
||||||
with:
|
with:
|
||||||
path: ./packages/**/dist
|
path: ./packages/**/dist
|
||||||
key: ${{ github.sha }}-base:${{ matrix.node-version }}-test-lint
|
key: ${{ github.sha }}-base:${{ matrix.node-version }}-test-lint
|
||||||
@@ -59,7 +59,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
node-version: [18.x, 20.x]
|
node-version: [18.x, 20.x]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: n8n-io/n8n
|
repository: n8n-io/n8n
|
||||||
ref: ${{ inputs.branch }}
|
ref: ${{ inputs.branch }}
|
||||||
@@ -67,7 +67,7 @@ jobs:
|
|||||||
- uses: pnpm/action-setup@v2.4.0
|
- uses: pnpm/action-setup@v2.4.0
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v3.7.0
|
uses: actions/setup-node@v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
cache: pnpm
|
cache: pnpm
|
||||||
@@ -76,7 +76,7 @@ jobs:
|
|||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Restore cached build artifacts
|
- name: Restore cached build artifacts
|
||||||
uses: actions/cache/restore@v3.3.1
|
uses: actions/cache/restore@v4.0.0
|
||||||
with:
|
with:
|
||||||
path: ./packages/**/dist
|
path: ./packages/**/dist
|
||||||
key: ${{ github.sha }}-base:${{ matrix.node-version }}-test-lint
|
key: ${{ github.sha }}-base:${{ matrix.node-version }}-test-lint
|
||||||
|
|||||||
18
.github/workflows/ci-postgres-mysql.yml
vendored
18
.github/workflows/ci-postgres-mysql.yml
vendored
@@ -17,9 +17,9 @@ jobs:
|
|||||||
name: Install & Build
|
name: Install & Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v4.1.1
|
||||||
- uses: pnpm/action-setup@v2.4.0
|
- uses: pnpm/action-setup@v2.4.0
|
||||||
- uses: actions/setup-node@v3.7.0
|
- uses: actions/setup-node@v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
run: pnpm build:backend
|
run: pnpm build:backend
|
||||||
|
|
||||||
- name: Cache build artifacts
|
- name: Cache build artifacts
|
||||||
uses: actions/cache/save@v3.3.1
|
uses: actions/cache/save@v4.0.0
|
||||||
with:
|
with:
|
||||||
path: ./packages/**/dist
|
path: ./packages/**/dist
|
||||||
key: ${{ github.sha }}:db-tests
|
key: ${{ github.sha }}:db-tests
|
||||||
@@ -42,16 +42,16 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
DB_MYSQLDB_PASSWORD: password
|
DB_MYSQLDB_PASSWORD: password
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v4.1.1
|
||||||
- uses: pnpm/action-setup@v2.4.0
|
- uses: pnpm/action-setup@v2.4.0
|
||||||
- uses: actions/setup-node@v3.7.0
|
- uses: actions/setup-node@v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Restore cached build artifacts
|
- name: Restore cached build artifacts
|
||||||
uses: actions/cache/restore@v3.3.1
|
uses: actions/cache/restore@v4.0.0
|
||||||
with:
|
with:
|
||||||
path: ./packages/**/dist
|
path: ./packages/**/dist
|
||||||
key: ${{ github.sha }}:db-tests
|
key: ${{ github.sha }}:db-tests
|
||||||
@@ -75,16 +75,16 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
DB_POSTGRESDB_PASSWORD: password
|
DB_POSTGRESDB_PASSWORD: password
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v4.1.1
|
||||||
- uses: pnpm/action-setup@v2.4.0
|
- uses: pnpm/action-setup@v2.4.0
|
||||||
- uses: actions/setup-node@v3.7.0
|
- uses: actions/setup-node@v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Restore cached build artifacts
|
- name: Restore cached build artifacts
|
||||||
uses: actions/cache/restore@v3.3.1
|
uses: actions/cache/restore@v4.0.0
|
||||||
with:
|
with:
|
||||||
path: ./packages/**/dist
|
path: ./packages/**/dist
|
||||||
key: ${{ github.sha }}:db-tests
|
key: ${{ github.sha }}:db-tests
|
||||||
|
|||||||
12
.github/workflows/ci-pull-requests.yml
vendored
12
.github/workflows/ci-pull-requests.yml
vendored
@@ -7,7 +7,7 @@ jobs:
|
|||||||
name: Install & Build
|
name: Install & Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: n8n-io/n8n
|
repository: n8n-io/n8n
|
||||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
- uses: pnpm/action-setup@v2.4.0
|
- uses: pnpm/action-setup@v2.4.0
|
||||||
|
|
||||||
- name: Use Node.js 18
|
- name: Use Node.js 18
|
||||||
uses: actions/setup-node@v3.7.0
|
uses: actions/setup-node@v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
cache: pnpm
|
cache: pnpm
|
||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
run: pnpm build
|
run: pnpm build
|
||||||
|
|
||||||
- name: Cache build artifacts
|
- name: Cache build artifacts
|
||||||
uses: actions/cache/save@v3.3.1
|
uses: actions/cache/save@v4.0.0
|
||||||
with:
|
with:
|
||||||
path: ./packages/**/dist
|
path: ./packages/**/dist
|
||||||
key: ${{ github.sha }}-base:18-test-lint
|
key: ${{ github.sha }}-base:18-test-lint
|
||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: install
|
needs: install
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: n8n-io/n8n
|
repository: n8n-io/n8n
|
||||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
- uses: pnpm/action-setup@v2.4.0
|
- uses: pnpm/action-setup@v2.4.0
|
||||||
|
|
||||||
- name: Use Node.js 18
|
- name: Use Node.js 18
|
||||||
uses: actions/setup-node@v3.7.0
|
uses: actions/setup-node@v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
cache: pnpm
|
cache: pnpm
|
||||||
@@ -62,7 +62,7 @@ jobs:
|
|||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Restore cached build artifacts
|
- name: Restore cached build artifacts
|
||||||
uses: actions/cache/restore@v3.3.1
|
uses: actions/cache/restore@v4.0.0
|
||||||
with:
|
with:
|
||||||
path: ./packages/**/dist
|
path: ./packages/**/dist
|
||||||
key: ${{ github.sha }}-base:18-test-lint
|
key: ${{ github.sha }}-base:18-test-lint
|
||||||
|
|||||||
10
.github/workflows/docker-base-image.yml
vendored
10
.github/workflows/docker-base-image.yml
vendored
@@ -17,22 +17,22 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v4.1.1
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2.2.0
|
uses: docker/setup-qemu-action@v3.0.0
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2.9.1
|
uses: docker/setup-buildx-action@v3.0.0
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v2.2.0
|
uses: docker/login-action@v3.0.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: docker/build-push-action@v4.1.1
|
uses: docker/build-push-action@v5.1.0
|
||||||
with:
|
with:
|
||||||
context: ./docker/images/n8n-base
|
context: ./docker/images/n8n-base
|
||||||
build-args: |
|
build-args: |
|
||||||
|
|||||||
10
.github/workflows/docker-image-beta.yml
vendored
10
.github/workflows/docker-image-beta.yml
vendored
@@ -16,22 +16,22 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.event.inputs.branch || 'ai-beta' }}
|
ref: ${{ github.event.inputs.branch || 'ai-beta' }}
|
||||||
|
|
||||||
- uses: docker/setup-qemu-action@v2
|
- uses: docker/setup-qemu-action@v3.0.0
|
||||||
- uses: docker/setup-buildx-action@v2
|
- uses: docker/setup-buildx-action@v3.0.0
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v2.2.0
|
uses: docker/login-action@v3.0.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v4.1.1
|
uses: docker/build-push-action@v5.1.0
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./docker/images/n8n-custom/Dockerfile
|
file: ./docker/images/n8n-custom/Dockerfile
|
||||||
|
|||||||
10
.github/workflows/docker-images-nightly.yml
vendored
10
.github/workflows/docker-images-nightly.yml
vendored
@@ -52,19 +52,19 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3.5.3
|
uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: ${{ github.event.inputs.repository || 'n8n-io/n8n' }}
|
repository: ${{ github.event.inputs.repository || 'n8n-io/n8n' }}
|
||||||
ref: ${{ github.event.inputs.branch || 'master' }}
|
ref: ${{ github.event.inputs.branch || 'master' }}
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2.2.0
|
uses: docker/setup-qemu-action@v3.0.0
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2.9.1
|
uses: docker/setup-buildx-action@v3.0.0
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v2.2.0
|
uses: docker/login-action@v3.0.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
@@ -75,7 +75,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v4.1.1
|
uses: docker/build-push-action@v5.1.0
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
build-args: |
|
build-args: |
|
||||||
|
|||||||
12
.github/workflows/docker-images.yml
vendored
12
.github/workflows/docker-images.yml
vendored
@@ -9,33 +9,33 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v4.1.1
|
||||||
|
|
||||||
- name: Get the version
|
- name: Get the version
|
||||||
id: vars
|
id: vars
|
||||||
run: echo ::set-output name=tag::$(echo ${GITHUB_REF:14})
|
run: echo ::set-output name=tag::$(echo ${GITHUB_REF:14})
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2.2.0
|
uses: docker/setup-qemu-action@v3.0.0
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2.9.1
|
uses: docker/setup-buildx-action@v3.0.0
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v2.2.0
|
uses: docker/login-action@v3.0.0
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v2.2.0
|
uses: docker/login-action@v3.0.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: docker/build-push-action@v4.1.1
|
uses: docker/build-push-action@v5.1.0
|
||||||
with:
|
with:
|
||||||
context: ./docker/images/n8n
|
context: ./docker/images/n8n
|
||||||
build-args: |
|
build-args: |
|
||||||
|
|||||||
10
.github/workflows/e2e-reusable.yml
vendored
10
.github/workflows/e2e-reusable.yml
vendored
@@ -76,7 +76,7 @@ jobs:
|
|||||||
image: cypress/${{ inputs.run-env }}
|
image: cypress/${{ inputs.run-env }}
|
||||||
options: --user 1001
|
options: --user 1001
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: n8n-io/n8n
|
repository: n8n-io/n8n
|
||||||
ref: ${{ inputs.branch }}
|
ref: ${{ inputs.branch }}
|
||||||
@@ -93,7 +93,7 @@ jobs:
|
|||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Cypress build
|
- name: Cypress build
|
||||||
uses: cypress-io/github-action@v5.8.3
|
uses: cypress-io/github-action@v6.6.1
|
||||||
with:
|
with:
|
||||||
# Disable running of tests within install job
|
# Disable running of tests within install job
|
||||||
runTests: false
|
runTests: false
|
||||||
@@ -106,7 +106,7 @@ jobs:
|
|||||||
run: pnpm cypress:install
|
run: pnpm cypress:install
|
||||||
|
|
||||||
- name: Cache build artifacts
|
- name: Cache build artifacts
|
||||||
uses: actions/cache/save@v3.3.1
|
uses: actions/cache/save@v4.0.0
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/github/home/.cache
|
/github/home/.cache
|
||||||
@@ -127,7 +127,7 @@ jobs:
|
|||||||
# running the same tests multiple times
|
# running the same tests multiple times
|
||||||
containers: ${{ fromJSON( inputs.spec == 'e2e/*' && inputs.containers || '[1]' ) }}
|
containers: ${{ fromJSON( inputs.spec == 'e2e/*' && inputs.containers || '[1]' ) }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: n8n-io/n8n
|
repository: n8n-io/n8n
|
||||||
ref: ${{ inputs.branch }}
|
ref: ${{ inputs.branch }}
|
||||||
@@ -141,7 +141,7 @@ jobs:
|
|||||||
- uses: pnpm/action-setup@v2.4.0
|
- uses: pnpm/action-setup@v2.4.0
|
||||||
|
|
||||||
- name: Restore cached pnpm modules
|
- name: Restore cached pnpm modules
|
||||||
uses: actions/cache/restore@v3.3.1
|
uses: actions/cache/restore@v4.0.0
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/github/home/.cache
|
/github/home/.cache
|
||||||
|
|||||||
4
.github/workflows/e2e-tests-pr.yml
vendored
4
.github/workflows/e2e-tests-pr.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: E2E success comment
|
- name: E2E success comment
|
||||||
if: ${{!contains(github.event.pull_request.labels.*.name, 'community') && needs.run-e2e-tests.outputs.tests_passed == 'true' }}
|
if: ${{!contains(github.event.pull_request.labels.*.name, 'community') && needs.run-e2e-tests.outputs.tests_passed == 'true' }}
|
||||||
uses: peter-evans/create-or-update-comment@v3
|
uses: peter-evans/create-or-update-comment@v4.0.0
|
||||||
with:
|
with:
|
||||||
issue-number: ${{ github.event.pull_request.number }}
|
issue-number: ${{ github.event.pull_request.number }}
|
||||||
body: |
|
body: |
|
||||||
@@ -39,7 +39,7 @@ jobs:
|
|||||||
|
|
||||||
- name: E2E fail comment
|
- name: E2E fail comment
|
||||||
if: needs.run-e2e-tests.result == 'failure'
|
if: needs.run-e2e-tests.result == 'failure'
|
||||||
uses: peter-evans/create-or-update-comment@v3
|
uses: peter-evans/create-or-update-comment@v4.0.0
|
||||||
with:
|
with:
|
||||||
issue-number: ${{ github.event.pull_request.number }}
|
issue-number: ${{ github.event.pull_request.number }}
|
||||||
body: |
|
body: |
|
||||||
|
|||||||
4
.github/workflows/release-create-pr.yml
vendored
4
.github/workflows/release-create-pr.yml
vendored
@@ -30,13 +30,13 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3.5.3
|
uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.event.inputs.base-branch }}
|
ref: ${{ github.event.inputs.base-branch }}
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v2.4.0
|
- uses: pnpm/action-setup@v2.4.0
|
||||||
- uses: actions/setup-node@v3.7.0
|
- uses: actions/setup-node@v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/release-publish.yml
vendored
4
.github/workflows/release-publish.yml
vendored
@@ -19,12 +19,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3.5.3
|
uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v2.4.0
|
- uses: pnpm/action-setup@v2.4.0
|
||||||
- uses: actions/setup-node@v3.7.0
|
- uses: actions/setup-node@v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v3.7.0
|
- uses: actions/setup-node@v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
- run: |
|
- run: |
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- uses: docker/login-action@v2.2.0
|
- uses: docker/login-action@v3.0.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- uses: docker/login-action@v2.2.0
|
- uses: docker/login-action@v3.0.0
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
|
|||||||
6
.github/workflows/test-workflows.yml
vendored
6
.github/workflows/test-workflows.yml
vendored
@@ -13,12 +13,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3.5.3
|
uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
path: n8n
|
path: n8n
|
||||||
|
|
||||||
- name: Checkout workflows repo
|
- name: Checkout workflows repo
|
||||||
uses: actions/checkout@v3.5.3
|
uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: n8n-io/test-workflows
|
repository: n8n-io/test-workflows
|
||||||
path: test-workflows
|
path: test-workflows
|
||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
package_json_file: n8n/package.json
|
package_json_file: n8n/package.json
|
||||||
|
|
||||||
- uses: actions/setup-node@v3.7.0
|
- uses: actions/setup-node@v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
|
|||||||
6
.github/workflows/units-tests-reusable.yml
vendored
6
.github/workflows/units-tests-reusable.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COVERAGE_ENABLED: ${{ inputs.collectCoverage }}
|
COVERAGE_ENABLED: ${{ inputs.collectCoverage }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: n8n-io/n8n
|
repository: n8n-io/n8n
|
||||||
ref: ${{ inputs.ref }}
|
ref: ${{ inputs.ref }}
|
||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
- uses: pnpm/action-setup@v2.4.0
|
- uses: pnpm/action-setup@v2.4.0
|
||||||
|
|
||||||
- name: Use Node.js ${{ inputs.nodeVersion }}
|
- name: Use Node.js ${{ inputs.nodeVersion }}
|
||||||
uses: actions/setup-node@v3.7.0
|
uses: actions/setup-node@v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version: ${{ inputs.nodeVersion }}
|
node-version: ${{ inputs.nodeVersion }}
|
||||||
cache: pnpm
|
cache: pnpm
|
||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Restore cached build artifacts
|
- name: Restore cached build artifacts
|
||||||
if: ${{ inputs.cacheKey != '' }}
|
if: ${{ inputs.cacheKey != '' }}
|
||||||
uses: actions/cache/restore@v3.3.1
|
uses: actions/cache/restore@v4.0.0
|
||||||
with:
|
with:
|
||||||
path: ./packages/**/dist
|
path: ./packages/**/dist
|
||||||
key: ${{ inputs.cacheKey }}
|
key: ${{ inputs.cacheKey }}
|
||||||
|
|||||||
Reference in New Issue
Block a user