omnidash/.github/workflows/linting.yaml
dependabot[bot] 3cbd7316f9
chore(deps): bump actions/checkout from 4.1.1 to 4.1.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.1...v4.1.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 04:08:34 +00:00

38 lines
778 B
YAML

name: Linting
on: [pull_request]
permissions:
checks: write
contents: write
jobs:
run-checks:
name: Run checks
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- name: Checkout Git repository
uses: actions/checkout@v4.1.2
- name: Setup pnpm
uses: pnpm/action-setup@v3.0.0
with:
version: latest
- name: Setup Node.js
uses: actions/setup-node@v4.0.2
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Install Node.js dependencies
run: pnpm install --frozen-lockfile
- name: Run linters
uses: wearerequired/lint-action@v2.3.0
with:
eslint: true
prettier: true