Skip to content

Commit

Permalink
Update Github Actions workflow file to use PNPM
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjarling committed Jul 31, 2023
1 parent 749caa2 commit 70b3557
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,25 @@ jobs:

steps:
- name: Get files
uses: actions/checkout@v2
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8

- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: "lts/*"
cache: npm
cache: pnpm

- name: Install packages
run: npm ci

- name: Build Site Navigation
run: npm run build-site-nav
run: pnpm run build-site-nav

- name: Export static files
run: npm run build
run: pnpm run build

- name: Add .nojekyll file
run: touch ./out/.nojekyll
Expand Down

0 comments on commit 70b3557

Please sign in to comment.