Skip to content

Commit

Permalink
Use yarn instead of npm for building site
Browse files Browse the repository at this point in the history
  • Loading branch information
abailly committed Jun 14, 2024
1 parent b95431a commit b7333ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache-dependency-path: site/package-lock.json
cache: 'yarn'
cache-dependency-path: site/yarn.lock

- name: 📦 Install dependencies
working-directory: site
run: npm ci
run: yarn install

- name: 🏗️ Build Docusaurus site
working-directory: site
run: |
npm run build
yarn build
- name: 🚀 Publish Docusaurus build
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit b7333ce

Please sign in to comment.