Skip to content

Commit

Permalink
Use pnpm scripts in gha workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
penelopeysm committed Jul 20, 2024
1 parent 6767f67 commit be442a6
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up pnpm
uses: pnpm/action-setup@v3
with:
version: 8

- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1

Expand All @@ -27,17 +32,10 @@ jobs:
workspaces: "rust"

- name: Generate JSON containing all concerts
working-directory: rust
run: cargo run
run: pnpm rust

- name: Generate TypeScript types from Rust structs
working-directory: rust
run: make types

- name: Set up pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run: pnpm rust:types

- name: Install dependencies
run: pnpm install
Expand Down

0 comments on commit be442a6

Please sign in to comment.