This repository has been archived by the owner on Aug 24, 2024. It is now read-only.
Update 03-language-overview-part2.md #36
Workflow file for this run
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: Lint | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- "**.md" | |
- ".github/workflows/**" | |
push: | |
branches: | |
- main | |
paths: | |
- "**.md" | |
- ".github/workflows/**" | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "latest" | |
- name: Prettier check | |
run: | | |
# if you encounter error, rerun the command below and commit the changes | |
make lint | |
git diff --exit-code |