Skip to content

Commit

Permalink
chore: use yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
sobird committed Nov 20, 2024
1 parent e1ce564 commit 92d5e2a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
# registry-url: https://registry.npmjs.org/
# cache: ${{ steps.detect-package-manager.outputs.manager }}
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
# - name: Setup pnpm
# uses: pnpm/action-setup@v4
# with:
# version: 9

- name: Restore cache node_modules
id: cache-dependencies
Expand All @@ -50,9 +51,11 @@ jobs:
**/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/package.json') }}
restore-keys: ${{ runner.os }}-yarn-

- name: Install dependencies
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: pnpm i
run: yarn

- name: Build ☕️
run: yarn build

Expand Down

0 comments on commit 92d5e2a

Please sign in to comment.