From f475f18b299c0f39a74b5047883cdaefb75d0a9a Mon Sep 17 00:00:00 2001 From: divlo Date: Thu, 17 Jun 2021 18:58:05 +0200 Subject: [PATCH] ci: disable caching .npm --- .github/workflows/build.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c16f039..cb6a8da 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/"' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fba7c57..cbc60bf 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aa3f13d..5e71be6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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'