mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-04-27 17:41:21 +00:00
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.0 to 4.0.1. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v4.0.0...v4.0.1) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
38 lines
778 B
YAML
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.1
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v2.4.0
|
|
with:
|
|
version: latest
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4.0.1
|
|
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
|