Merge pull request #426 from holistics/update_example_in_readme #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build docs | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- 'dbml-homepage/**' | |
pull_request: | |
branches: [ master ] | |
types: [opened, synchronize] | |
paths: | |
- 'dbml-homepage/**' | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
defaults: | |
run: | |
working-directory: dbml-homepage | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build docs page | |
run: yarn build |