Skip to content

Commit 7ebd7e9

Browse files
committed
Add workflow movabletype/mt-docs-data-api-reference
1 parent 75fa258 commit 7ebd7e9

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: movabletype/mt-docs-data-api-reference
2+
on:
3+
push:
4+
branches:
5+
- "**/*"
6+
pull_request:
7+
schedule:
8+
- cron: 0 8 * * *
9+
concurrency:
10+
# # This item has no matching transformer
11+
# maximum_number_of_builds: 0
12+
jobs:
13+
test:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: checkout
17+
uses: actions/checkout@v4.1.0
18+
- name: Get yarn cache directory path
19+
id: yarn-cache-dir-path
20+
run: echo 'dir=$(yarn cache dir)' >> $GITHUB_OUTPUT
21+
- name: Set up yarn cache
22+
uses: actions/cache@v3.3.2
23+
with:
24+
path: "${{ steps.yarn-cache-dir-path.outputs.dir }}"
25+
key: "${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}"
26+
restore-keys: "${{ runner.os }}-yarn-"
27+
- uses: actions/setup-node@v4.0.0
28+
with:
29+
cache: npm
30+
node-version: '16'
31+
- run: npm install
32+
- run: yarn redoc

0 commit comments

Comments
 (0)