Skip to content

Commit

Permalink
Merge pull request #117 from alexrecuenco/add-minimal-qa-check
Browse files Browse the repository at this point in the history
[DRAFT] Minimal QA check on repository
  • Loading branch information
phil294 authored Nov 25, 2024
2 parents 6b26940 + bc9dc09 commit 229ca8b
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 3 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Node.js CI

on:
pull_request:
branches:
- main
- master
push:
branches:
- main
- master

jobs:
lint_and_build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version:
- 22.x

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm run lint
- run: cd web
- run: npm ci
- run: npm run build
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,8 @@
}
},
"scripts": {
"postinstall": "cd web && npm install"
"postinstall": "cd web && npm install",
"lint": "eslint ."
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
Expand Down

0 comments on commit 229ca8b

Please sign in to comment.