Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 31 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,24 @@ jobs:

- uses: Swatinem/rust-cache@v2

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22

- name: Install pnpm
uses: pnpm/action-setup@v6
with:
# Pinned: pnpm 10+ rejects ignored build scripts (esbuild postinstall).
# Settings location for the allowlist has shifted between 10 and 11
# (package.json "pnpm" field deprecated, pnpm-workspace.yaml not
# honored in our layout). Stay on 9 until that stabilizes.
version: 9

- name: Install frontend deps
working-directory: elo-tauri
run: pnpm install --frozen-lockfile

- name: Run tests
run: cargo test --workspace

Expand All @@ -88,9 +106,13 @@ jobs:
node-version: 22

- name: Install pnpm
uses: pnpm/action-setup@v5
uses: pnpm/action-setup@v6
with:
version: latest
# Pinned: pnpm 10+ rejects ignored build scripts (esbuild postinstall).
# Settings location for the allowlist has shifted between 10 and 11
# (package.json "pnpm" field deprecated, pnpm-workspace.yaml not
# honored in our layout). Stay on 9 until that stabilizes.
version: 9

- name: Install Tauri CLI
run: cargo install tauri-cli --version "^2"
Expand Down Expand Up @@ -135,9 +157,13 @@ jobs:
node-version: 22

- name: Install pnpm
uses: pnpm/action-setup@v5
uses: pnpm/action-setup@v6
with:
version: latest
# Pinned: pnpm 10+ rejects ignored build scripts (esbuild postinstall).
# Settings location for the allowlist has shifted between 10 and 11
# (package.json "pnpm" field deprecated, pnpm-workspace.yaml not
# honored in our layout). Stay on 9 until that stabilizes.
version: 9

- name: Install Tauri CLI
run: cargo install tauri-cli --version "^2"
Expand Down Expand Up @@ -181,7 +207,7 @@ jobs:
ls -la release-assets/

- name: Create GitHub Release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
generate_release_notes: true
files: release-assets/*
3 changes: 0 additions & 3 deletions elo-tauri/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,5 @@
"@tauri-apps/cli": "^2",
"vite": "^6.0.3",
"typescript": "~5.6.2"
},
"pnpm": {
"onlyBuiltDependencies": ["esbuild"]
}
}