Skip to content

Commit

Permalink
#1 enable yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
hailiang-wang committed Nov 29, 2023
1 parent 3129b5c commit e9f305e
Show file tree
Hide file tree
Showing 3 changed files with 12,009 additions and 5 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: npm
cache: yarn

- name: Install dependencies
run: npm i
run: yarn i

- name: Build website
run: npm run build && mkdir -p build/.github/workflows && cp .github/workflows/gitee.yml build/.github/workflows && ls ./build/.github/workflows
run: yarn 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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "store-docs",
"version": "0.0.0",
"private": true,
"packageManager": "[email protected]",
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
Expand Down Expand Up @@ -39,6 +39,6 @@
]
},
"engines": {
"node": ">=18.0"
"node": ">=20"
}
}
Loading

0 comments on commit e9f305e

Please sign in to comment.