Bump the npm_and_yarn group across 1 directory with 4 updates #27
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: | |
push: | |
branches: | |
- main | |
# Replace pull_request with pull_request_target if you | |
# plan to use this action with forks, see the Limitations section of | |
# wearerequired/lint-action | |
pull_request: | |
branches: | |
- main | |
permissions: | |
checks: write | |
jobs: | |
run-linters: | |
name: Run linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .tool-versions | |
- run: npm ci | |
- name: Run linters | |
uses: wearerequired/lint-action@v2 | |
with: | |
prettier: true | |
eslint: true | |
tsc: true |