mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
ci: Fix versions of all external Github actions (no-changelog) (#6984)
This commit is contained in:
committed by
GitHub
parent
3126a48e3b
commit
9e3e298aca
44
.github/workflows/e2e-reusable.yml
vendored
44
.github/workflows/e2e-reusable.yml
vendored
@@ -76,7 +76,7 @@ jobs:
|
||||
image: cypress/${{ inputs.run-env }}
|
||||
options: --user 1001
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v3.5.3
|
||||
with:
|
||||
repository: n8n-io/n8n
|
||||
ref: ${{ inputs.branch }}
|
||||
@@ -87,23 +87,13 @@ jobs:
|
||||
git fetch origin pull/${{ inputs.pr_number }}/head
|
||||
git checkout FETCH_HEAD
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v2.2.4
|
||||
with:
|
||||
run_install: true
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
|
||||
- name: Cache pnpm modules
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
/github/home/.cache
|
||||
/github/home/.pnpm-store
|
||||
./node_modules
|
||||
./packages
|
||||
key: ${{ inputs.cache-key }}
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Cypress build
|
||||
uses: cypress-io/github-action@v5
|
||||
uses: cypress-io/github-action@v5.8.3
|
||||
with:
|
||||
# Disable running of tests within install job
|
||||
runTests: false
|
||||
@@ -113,6 +103,15 @@ jobs:
|
||||
- name: Cypress install
|
||||
run: pnpm cypress:install
|
||||
|
||||
- name: Cache build artifacts
|
||||
uses: actions/cache/save@v3.3.1
|
||||
with:
|
||||
path: |
|
||||
/github/home/.cache
|
||||
/github/home/.pnpm-store
|
||||
./packages/**/dist
|
||||
key: ${{ inputs.cache-key }}
|
||||
|
||||
testing:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
@@ -126,7 +125,7 @@ jobs:
|
||||
# running the same tests multiple times
|
||||
containers: ${{ fromJSON( inputs.spec == 'e2e/*' && inputs.containers || '[1]' ) }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v3.5.3
|
||||
with:
|
||||
repository: n8n-io/n8n
|
||||
ref: ${{ inputs.branch }}
|
||||
@@ -137,21 +136,22 @@ jobs:
|
||||
git fetch origin pull/${{ inputs.pr_number }}/head
|
||||
git checkout FETCH_HEAD
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v2.2.4
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
|
||||
- name: Restore cached pnpm modules
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache/restore@v3.3.1
|
||||
with:
|
||||
path: |
|
||||
/github/home/.cache
|
||||
/github/home/.pnpm-store
|
||||
./node_modules
|
||||
./packages
|
||||
./packages/**/dist
|
||||
key: ${{ inputs.cache-key }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Cypress run
|
||||
uses: cypress-io/github-action@v5
|
||||
uses: cypress-io/github-action@v5.8.3
|
||||
with:
|
||||
install: false
|
||||
start: pnpm start
|
||||
|
||||
Reference in New Issue
Block a user