Skip to content

Commit

Permalink
use npm for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
icanc0 committed Feb 9, 2024
1 parent c253303 commit 96fdba0
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/deploy_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,23 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
cache: npm

- name: Install dependencies
run: pnpm i
run: npm i

- name: Setup Pages
uses: actions/configure-pages@v3
with:
static_site_generator: "sveltekit"

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

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
Expand Down

0 comments on commit 96fdba0

Please sign in to comment.