Frontent infrastructure updates

* rename and combine npm scripts
* move to checkout@v2 in actions
* change dev docs
* move liststaged config to package.json because it easier to understand what husky doing
This commit is contained in:
Pavel Mineev
2020-04-13 14:36:19 +03:00
parent a15acaf293
commit af38a64f5c
9 changed files with 139 additions and 66 deletions
+2 -8
View File
@@ -17,18 +17,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: npm ci
working-directory: ./frontend
- run: npx run-p check lint lint:style test
working-directory: ./frontend
- run: npm run size
working-directory: ./frontend
- run: npm run check:translation
- run: npx run-p check lint
working-directory: ./frontend