Skip to content

Commit

Permalink
workflow: use npm
Browse files Browse the repository at this point in the history
  • Loading branch information
conapi-stefan committed Jul 24, 2024
1 parent 4b8f53b commit 8512c46
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/docu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on

defaults:
run:
working-directory: ./docs

jobs:
build:
name: Build Docusaurus
Expand All @@ -17,13 +21,13 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn
node-version: 20
cache: npm

- name: Install dependencies
run: yarn install --frozen-lockfile
run: npm ci
- name: Build website
run: yarn build
run: npm run build

- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit 8512c46

Please sign in to comment.