Skip to content

Commit

Permalink
updated workflow to support pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
TwanLuttik committed Sep 28, 2023
1 parent 0675b95 commit 0a17e50
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,28 @@ jobs:
with:
workspaces: './src-tauri -> target'

- name: Pnpm install
uses: pnpm/action-setup@v2
with:
version: ${{ matrix.pnpm-version }}

- name: Install Node.js
uses: actions/setup-node@v3
with:
check-latest: true
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'

- name: Sync node version and setup cache
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'yarn' # Set this to npm, yarn or pnpm.
cache: 'pnpm' # Set this to npm, yarn or pnpm.

- name: Install frontend dependencies
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
run: yarn install # Change this to npm, yarn or pnpm.
run: pnpm i # Change this to npm, yarn or pnpm.

- name: Build the app
uses: tauri-apps/tauri-action@v0
Expand Down

0 comments on commit 0a17e50

Please sign in to comment.