Skip to content

Commit

Permalink
ci: Fix pnpm installatie via corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
Ollie-nl committed Dec 24, 2024
1 parent 83cd704 commit 0780f3e
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: πŸš€ Deploy to GitHub Pages

on:
push:
branches:
Expand All @@ -6,6 +8,9 @@ on:
branches:
- main

permissions:
contents: write

jobs:
build-and-test:
runs-on: ubuntu-latest
Expand All @@ -19,10 +24,8 @@ jobs:
node-version: "18"
cache: "pnpm"

- name: πŸ“¦ Install PNPM
uses: pnpm/action-setup@v2
with:
version: 8
- name: πŸ“¦ Enable Corepack and Install PNPM
run: corepack enable && corepack prepare [email protected] --activate

- name: πŸ“¦ Install dependencies
run: pnpm install
Expand All @@ -44,10 +47,8 @@ jobs:
node-version: "18"
cache: "pnpm"

- name: πŸ“¦ Install PNPM
uses: pnpm/action-setup@v2
with:
version: 8
- name: πŸ“¦ Enable Corepack and Install PNPM
run: corepack enable && corepack prepare [email protected] --activate

- name: πŸ“¦ Install dependencies
run: pnpm install
Expand Down

0 comments on commit 0780f3e

Please sign in to comment.