Skip to content

Commit

Permalink
ci: correct package manager
Browse files Browse the repository at this point in the history
  • Loading branch information
emotionbug committed Jun 13, 2024
1 parent 81d8a2b commit 702120f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,19 @@ jobs:
with:
node-version: latest

# Cache dependencies
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-pnpm-
${{ runner.os }}-node-
- name: Install dependencies
run: pnpm install
run: npm install

- name: Build project
run: pnpm run build
run: npm run build

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
Expand Down

0 comments on commit 702120f

Please sign in to comment.