Skip to content

Commit

Permalink
change to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
mollykannn committed Jan 5, 2025
1 parent 62aebaf commit d2d5b53
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout code repository
uses: actions/checkout@v2.3.1
uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'

- name: Install and Build
run: |
yarn install
yarn run build
pnpm install
pnpm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@3.6.2
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
},
"devDependencies": {
"vite": "^6.0.6",
"vite-plugin-pwa": "^0.21.1"
"vite-plugin-pwa": "^0.21.1",
"workbox-window": "^7.3.0",
"workbox-precaching": "^7.3.0"
},
"dependencies": {}
}

0 comments on commit d2d5b53

Please # to comment.