Skip to content

Commit

Permalink
Update blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbontyes authored Sep 16, 2022
1 parent 8ce6ecc commit d991d09
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,23 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
- name: Use Node.js
uses: actions/setup-node@v5
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '14.x'
- run: npm ci
- run: npm run build --if-present
- run: npm test
node-version: "16.15"
registry-url: "https://registry.npmjs.org"

- name: Cache dependencies
id: cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm i docsify-tools

- run: docsify-auto-sidebar -d docs

0 comments on commit d991d09

Please sign in to comment.