mirror of
https://github.com/gramps-project/gramps-web.git
synced 2026-04-18 05:08:34 -04:00
* Update eslint config * Add vscode * Remove eslintrc * npm run format * Fix some linter errors * Fix more linter error * More lint fixes * Remove stories * Fix lint error in test * Fix lint errors in tests * lint error in test * Fix more linter errors * test * test * test * Remove semi * Remove bracket space * remove * Remove semi * Fix more lint errors * Fix more lint errors * Fix remaining lints * Fix remaining lint issues * Format * Add unit test workflow * Fix wrong import
25 lines
439 B
YAML
25 lines
439 B
YAML
name: Unit test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: "17"
|
|
- name: Install
|
|
run: npm ci
|
|
- name: ESLint
|
|
run: npm run lint:eslint
|
|
- name: Prettier
|
|
run: npm run lint:prettier
|
|
- name: Build
|
|
run: npm run build
|