Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
feat: switch pnpm to yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
xxhls committed Sep 17, 2024
1 parent 4229fea commit 7a374eb
Show file tree
Hide file tree
Showing 4 changed files with 2,233 additions and 2,907 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Set up pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
run: npm ci
- name: Build
run: pnpm build
run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"format": "pnpm format:style && biome format --write .",
"format": "npm run format:style && biome format --write .",
"format:style": "stylelint --fix \"src/**/*.{css,scss}\"",
"preview": "vite preview"
},
"dependencies": {
"classnames": "^2.5.1",
"classnames": "2.5.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "6.26.2",
Expand Down
Loading

0 comments on commit 7a374eb

Please sign in to comment.