Skip to content

Commit

Permalink
chore(tauri-app): consider to use yarn.lock when build on pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrejs authored and Andrejs committed Nov 27, 2024
1 parent 469ff12 commit 67ffb1e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build_tauri_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ jobs:
node-version: 18
cache: 'yarn'

- name: cache node modules
uses: actions/cache@v3
with:
path: |
**/node_modules
~/.yarn/cache
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
Expand All @@ -52,8 +62,8 @@ jobs:
workspaces: './src-tauri -> target'

- name: install deps
run: yarn add -D @tauri-apps/cli && yarn install
run: yarn install

- name: install frontend dependencies
run: yarn tauri build ${{ matrix.settings.args }}
- uses: tauri-apps/tauri-action@v0
Expand Down

0 comments on commit 67ffb1e

Please sign in to comment.