learning github action from workflow #20
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: markdown-lint | |
run-name: learning github action from workflow | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
markdown-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- name: Lint Markdown files | |
uses: ./.github/actions/md-lint |