mirror of
https://github.com/AventurasTeam/Aventuras.git
synced 2026-04-28 03:40:11 +00:00
fix: prettier, eslint, pipeline (#71)
* fix: prettier, eslint, pipeline * fix: eslintignore, branch trigger * fix: eslint missing package * chore: format * fix: eslint config * chore: lint wip * chore: lint * chore: lint * chore: typecheck wip * fix: typecheck * fix: typecheck * fix: pipeline: add build step * feat: pre-push code quality check
This commit is contained in:
parent
12149e60a7
commit
a4ae3bbf01
434 changed files with 32302 additions and 29423 deletions
33
.github/workflows/lint-and-typecheck.yml
vendored
Normal file
33
.github/workflows/lint-and-typecheck.yml
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
name: Lint and Type-check
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
lint-and-typecheck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Run Lint
|
||||
run: npm run lint
|
||||
|
||||
- name: Run Type-check
|
||||
run: npm run check
|
||||
Loading…
Add table
Add a link
Reference in a new issue