Skip to content

Commit

Permalink
fix pnpm setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mendesfabio committed Jan 24, 2024
1 parent 2390608 commit 24489f2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/graph-studio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,24 @@ jobs:
runs-on: ubuntu-latest
environment: graph
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: ./.github/workflows/setup-pnpm

- name: Install node
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 18

- name: Install
run: pnpm install

- name: Codegen
run: pnpm codegen

- name: Build
run: pnpm build

- uses: balancer-labs/[email protected]
with:
graph_deploy_key: ${{secrets.GRAPH_DEPLOY_KEY}}
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/setup-pnpm/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: setup JS dependencies
runs:
using: composite
steps:
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version-file: ".tool-versions"
cache: "pnpm"
- run: pnpm install --frozen-lockfile
shell: bash

0 comments on commit 24489f2

Please sign in to comment.