mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
ci: adapt workflow tests to work with updated github actions (#4176)
ci: update workflow test action to work with updated github actions
This commit is contained in:
parent
b665388717
commit
87e6877f1d
3
.github/workflows/test-workflows.yml
vendored
3
.github/workflows/test-workflows.yml
vendored
|
@ -31,6 +31,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
cache-dependency-path: 'n8n/package-lock.json'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
@ -41,8 +42,8 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: npm install and build
|
- name: npm install and build
|
||||||
|
working-directory: n8n
|
||||||
run: |
|
run: |
|
||||||
cd n8n
|
|
||||||
npm install -g npm@latest
|
npm install -g npm@latest
|
||||||
npm install
|
npm install
|
||||||
npm run build --if-present
|
npm run build --if-present
|
||||||
|
|
Loading…
Reference in a new issue