Skip to content

Commit

Permalink
#1 fix with yarn v4
Browse files Browse the repository at this point in the history
  • Loading branch information
hailiang-wang committed Nov 29, 2023
1 parent e9f305e commit d2fa9f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 20
cache: yarn
cache: npm

- name: Install dependencies
run: yarn i
run: corepack enable && yarn install

- name: Build website
run: yarn run build && mkdir -p build/.github/workflows && cp .github/workflows/gitee.yml build/.github/workflows && ls ./build/.github/workflows
run: npm run build && mkdir -p build/.github/workflows && cp .github/workflows/gitee.yml build/.github/workflows && ls ./build/.github/workflows

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit d2fa9f7

Please sign in to comment.