diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a8c5c50..9db3bc5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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