Skip to content

Commit

Permalink
Fixed yarn usage
Browse files Browse the repository at this point in the history
  • Loading branch information
mikalai-snap authored Mar 25, 2024
1 parent 21bfd41 commit 75de3ff
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,19 @@ jobs:
cache: 'npm'

- name: Install dependencies
run: npm i yarn && yarn install --immutable && yarn prepare

uses: borales/actions-yarn@v5
with:
cmd: install --immutable

- name: Prepare
uses: borales/actions-yarn@v5
with:
cmd: prepare

- name: Pack
run: yarn pack
uses: borales/actions-yarn@v5
with:
cmd: pack

docs:
name: Docs
Expand All @@ -41,8 +50,7 @@ jobs:
node-version: 20.x
cache: 'npm'

- name: Install dependencies
run: npm i yarn

- name: Build API reference manual
run: yarn docs
- name: Build docs
uses: borales/actions-yarn@v5
with:
cmd: docs

0 comments on commit 75de3ff

Please sign in to comment.