lint all files with self-consuming config, create lint step in workflow #7
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: Main Branch Checks | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
main_branch_checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install pnpm | |
run: curl -L https://unpkg.com/@pnpm/self-installer | node | |
- name: Install dependencies | |
run: pnpm install | |
- name: Lint step | |
run: pnpm lint | |
- name: Build step | |
run: pnpm build |