ci: disable caching .npm
This commit is contained in:
parent
f720068fcc
commit
f475f18b29
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -26,4 +26,4 @@ jobs:
|
|||||||
run: 'npm run build'
|
run: 'npm run build'
|
||||||
|
|
||||||
- name: 'Build Example'
|
- name: 'Build Example'
|
||||||
run: 'cd example && npm ci && npm run build'
|
run: 'cd example && npm ci && npm run build -- --public-url "https://divlo.github.io/react-component-form/"'
|
||||||
|
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
- run: 'npm install --global npm@7'
|
- run: 'npm install --global npm@7'
|
||||||
|
|
||||||
- name: 'Install'
|
- name: 'Install'
|
||||||
run: 'npm ci --cache .npm --prefer-offline'
|
run: 'npm ci'
|
||||||
|
|
||||||
- run: 'npm run lint:commit -- --to "${{ github.sha }}"'
|
- run: 'npm run lint:commit -- --to "${{ github.sha }}"'
|
||||||
- run: 'npm run lint:editorconfig'
|
- run: 'npm run lint:editorconfig'
|
||||||
|
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
- run: 'npm install --global npm@7'
|
- run: 'npm install --global npm@7'
|
||||||
|
|
||||||
- name: 'Install'
|
- name: 'Install'
|
||||||
run: 'npm ci --cache .npm --prefer-offline'
|
run: 'npm ci'
|
||||||
|
|
||||||
- name: 'Test'
|
- name: 'Test'
|
||||||
run: 'npm run test'
|
run: 'npm run test'
|
||||||
|
Reference in New Issue
Block a user