Commit 72f0706a authored by tom's avatar tom

add tsc to github workflows

parent 7fe06036
name: Linters
name: Run code checks
on: [pull_request]
jobs:
eslint:
Check code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
......@@ -9,3 +9,5 @@ jobs:
run: yarn
- name: Run ESLint
run: yarn lint:eslint
- name: Compile TypeScript
run: yarn lint:tsc
\ No newline at end of file
......@@ -15,6 +15,7 @@
"start": "next start",
"start:docker:poa_core": "docker run -p 3000:3000 --env-file ./configs/envs/.env.poa_core --env-file ./configs/envs/.env.common --env-file ./configs/envs/.env.secrets blockscout",
"lint:eslint": "./node_modules/.bin/eslint . --ext .js,.jsx,.ts,.tsx",
"lint:tsc": "./node_modules/.bin/tsc -p ./tsconfig.json",
"prepare": "husky install",
"format-svg": "./node_modules/.bin/svgo -r ./icons",
"test-ct": "playwright test -c playwright-ct.config.ts",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment