From 90e9c11560e0b73be301d276bdd76b000270c5d3 Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Thu, 6 Apr 2023 23:50:31 +0200 Subject: build: Use `npm clean-install` (#257) instead of `npm install` `npm clean-install` is recommended over `npm install` for CI pipelines. --- .github/workflows/push-test.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index cb7491e9..025d1f0c 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -95,8 +95,8 @@ jobs: env: TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} run: | - npm install - cd src-vue && npm install && cd .. + npm clean-install + cd src-vue && npm clean-install && cd .. npm run tauri build - uses: tauri-apps/tauri-action@v0 env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0f9b3a5e..8b2235e5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,8 +51,8 @@ jobs: env: TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} run: | - npm install - cd src-vue && npm install && cd .. + npm clean-install + cd src-vue && npm clean-install && cd .. npm run tauri build - uses: tauri-apps/tauri-action@v0 env: -- cgit v1.2.3