chg: 記事更新 #5
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: ci | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".node-version" | |
- name: Install dependencies | |
run: | | |
yarn --frozen-lockfile | |
- name: Run prettier | |
run: yarn format:check | |
- name: Run eslint | |
run: yarn lint | |
- name: Run markdownlint | |
run: yarn mdlint |