Skip to content

Commit

Permalink
Use pnpm install upon pnpm setup and replace cd with working-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Tzal3x committed Jul 23, 2024
1 parent df1c15c commit 168c02f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/portal-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Change directory to portal
run: cd portal

- uses: pnpm/action-setup@v4
name: Install pnpm
with:
working-directory: portal
version: 8
run_install: false

Expand All @@ -30,9 +28,6 @@ jobs:
with:
node-version: 20

- name: Install dependencies
working-directory: portal
run: pnpm install

- name: Run tests
run: cd portal && pnpm run test
working-directory: portal
run: pnpm run test

0 comments on commit 168c02f

Please sign in to comment.