mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
ci: Using npm ci instead of npm install to reuse package-lock.json (#3648)
This commit is contained in:
parent
7d968ec202
commit
6b9289349f
2
.github/workflows/test-workflows.yml
vendored
2
.github/workflows/test-workflows.yml
vendored
|
@ -45,7 +45,7 @@ jobs:
|
||||||
name: npm install and build
|
name: npm install and build
|
||||||
run: |
|
run: |
|
||||||
cd n8n
|
cd n8n
|
||||||
npm install
|
npm ci
|
||||||
npm run bootstrap
|
npm run bootstrap
|
||||||
npm run build --if-present
|
npm run build --if-present
|
||||||
env:
|
env:
|
||||||
|
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- name: npm install, build, and test
|
- name: npm install, build, and test
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm ci
|
||||||
npm run bootstrap
|
npm run bootstrap
|
||||||
npm run build --if-present
|
npm run build --if-present
|
||||||
npm test
|
npm test
|
||||||
|
|
Loading…
Reference in a new issue