Skip to content

Commit 2794f04

Browse files
authored
Merge pull request #50 from movabletype/convert-movabletype-mt-docs-data-api-reference-to-actions-20240329-090731
Convert movabletype/mt-docs-data-api-reference to GitHub Actions
2 parents 1996bce + 91c274b commit 2794f04

2 files changed

Lines changed: 29 additions & 6 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: checkout
14+
uses: actions/checkout@v4.1.0
15+
- name: Get yarn cache directory path
16+
id: yarn-cache-dir-path
17+
run: echo 'dir=$(yarn cache dir)' >> $GITHUB_OUTPUT
18+
- name: Set up yarn cache
19+
uses: actions/cache@v3.3.2
20+
with:
21+
path: "${{ steps.yarn-cache-dir-path.outputs.dir }}"
22+
key: "${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}"
23+
restore-keys: "${{ runner.os }}-yarn-"
24+
- uses: actions/setup-node@v4.0.0
25+
with:
26+
cache: npm
27+
node-version: '16'
28+
- run: npm install
29+
- run: yarn redoc

.travis.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)