mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-06-29 20:59:11 +00:00
refactor: Rename Workflow reflecting intended use
This commit is contained in:
parent
511042c32d
commit
81b8ebe807
1 changed files with 1 additions and 1 deletions
35
.github/workflows/lint-deps-check.yaml
vendored
Normal file
35
.github/workflows/lint-deps-check.yaml
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
name: Linting and Dependency Check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
run-checks:
|
||||
name: Run checks
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Install Node.js dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- name: Run linters
|
||||
uses: wearerequired/lint-action@v2
|
||||
with:
|
||||
eslint: true
|
||||
prettier: true
|
||||
|
||||
- name: Run dependency check
|
||||
run: npx depcheck
|
Loading…
Add table
Add a link
Reference in a new issue