mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-27 15:31:21 +00:00
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.6.0 to 3.7.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3.6.0...v3.7.0) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
47 lines
927 B
YAML
47 lines
927 B
YAML
name: Linting and Dependency Check
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
checks: write
|
|
contents: write
|
|
|
|
jobs:
|
|
run-checks:
|
|
name: Run checks
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [18, 20]
|
|
steps:
|
|
- name: Checkout Git repository
|
|
uses: actions/checkout@v3.5.3
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v2.2.4
|
|
with:
|
|
version: 8.6.2
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v3.7.0
|
|
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
|
|
|
|
- name: Run dependency check
|
|
run: npx depcheck
|