tmphat1312 is learning GitHub Actions with ESLint #8
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: code-review-eslint | |
run-name: ${{ github.actor }} is learning GitHub Actions with ESLint | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
eslint-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install pnpm | |
run: npm i -g pnpm | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Run eslint linting | |
run: pnpm lint |