Skip to content

Commit

Permalink
fix: pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
DrAugus committed Dec 21, 2022
1 parent 0cf0c5e commit fffa21c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,18 @@ jobs:
fail-fast: false
matrix:
platform: [ macos-latest, ubuntu-latest, windows-latest ]
node: ['16', '18']

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: setup node
- name: install pnpm
uses: pnpm/action-setup@v2
- name: setup node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{ matrix.node }}
cache: pnpm
- name: install Rust stable
uses: actions-rs/toolchain@v1
with:
Expand All @@ -32,4 +36,4 @@ jobs:
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0
- name: install app dependencies and build it
run: pnpm && pnpm build
run: pnpm install --frozen-lockfile && pnpm build
10 changes: 7 additions & 3 deletions .github/workflows/tauri-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ jobs:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]
node: ['16', '18']

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: setup node
- name: install pnpm
uses: pnpm/action-setup@v2
- name: setup node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{ matrix.node }}
cache: pnpm
- name: install Rust stable
uses: actions-rs/toolchain@v1
with:
Expand All @@ -31,7 +35,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0
- name: install app dependencies and build it
run: pnpm && pnpm build
run: pnpm install --frozen-lockfile && pnpm build
- uses: tauri-apps/tauri-action@v0
env:
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
Expand Down

0 comments on commit fffa21c

Please sign in to comment.