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'
|
||||
|
||||
- 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'
|
||||
|
||||
- name: 'Install'
|
||||
run: 'npm ci --cache .npm --prefer-offline'
|
||||
run: 'npm ci'
|
||||
|
||||
- run: 'npm run lint:commit -- --to "${{ github.sha }}"'
|
||||
- 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'
|
||||
|
||||
- name: 'Install'
|
||||
run: 'npm ci --cache .npm --prefer-offline'
|
||||
run: 'npm ci'
|
||||
|
||||
- name: 'Test'
|
||||
run: 'npm run test'
|
||||
|
Reference in New Issue
Block a user