aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-04-06 23:50:31 +0200
committerGitHub <noreply@github.com>2023-04-06 23:50:31 +0200
commit90e9c11560e0b73be301d276bdd76b000270c5d3 (patch)
tree269f2ea9b7f4921f74482c854ac03e0824aa99a9
parentdd1e870b279f990981dcbaff79c9db58fde18ba9 (diff)
downloadFlightCore-90e9c11560e0b73be301d276bdd76b000270c5d3.tar.gz
FlightCore-90e9c11560e0b73be301d276bdd76b000270c5d3.zip
build: Use `npm clean-install` (#257)
instead of `npm install` `npm clean-install` is recommended over `npm install` for CI pipelines.
-rw-r--r--.github/workflows/push-test.yml4
-rw-r--r--.github/workflows/release.yml4
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: