Skip to content

movabletype/mt-docs-data-api-reference #169

movabletype/mt-docs-data-api-reference

movabletype/mt-docs-data-api-reference #169

name: movabletype/mt-docs-data-api-reference
on:
push:
branches:
- "**/*"
pull_request:
schedule:
- cron: 0 8 * * *
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/[email protected]
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo 'dir=$(yarn cache dir)' >> $GITHUB_OUTPUT
- name: Set up yarn cache
uses: actions/[email protected]
with:
path: "${{ steps.yarn-cache-dir-path.outputs.dir }}"
key: "${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}"
restore-keys: "${{ runner.os }}-yarn-"
- uses: actions/[email protected]
with:
cache: npm
node-version: '16'
- run: npm install
- run: yarn redoc