Files
gramps-web/.github/workflows/test.yml
David Straub 909c76cd49 Fix linting and formatting (fixes #86) (#93)
* 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
2022-08-28 14:50:37 +02:00

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