Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
$ yarn add -D typecov @codechecks/client
Browse files Browse the repository at this point in the history
+ codechecks.yml
@ fe
+ .github/actions/fe.yml
n0099 committed Feb 12, 2024
1 parent 7b067de commit a7ce607
Showing 4 changed files with 948 additions and 11 deletions.
9 changes: 9 additions & 0 deletions .github/codechecks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
settings:
# https://github.com/codechecks/monorepo/blob/4ccc8bbaab1586c0ef265f234f0a275fd40b38f8/packages/client/src/speculativeBranchSelection.ts#L73
branches:
- v2
checks:
- name: typecov
options:
strict: true
atLeast: 95
25 changes: 25 additions & 0 deletions .github/workflows/fe.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: fe
on:
push:
paths: ['fe/**']
defaults:
run:
working-directory: ./fe
jobs:
fe:
name: fe
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: install
run: yarn install --immutable
- name: codechecks
run: yarn run codechecks ../.github/codechecks.yml
env:
CC_SECRET: ${{ secrets.CC_SECRET }}
- name: tsc
run: yarn run vue-tsc
if: ${{ !cancelled() }}
- name: eslint
run: yarn run eslint src
if: ${{ !cancelled() }}
2 changes: 2 additions & 0 deletions fe/package.json
Original file line number Diff line number Diff line change
@@ -36,6 +36,7 @@
"vue-router": "^4.2.5"
},
"devDependencies": {
"@codechecks/client": "^0.1.12",
"@stylistic/eslint-plugin": "^1.6.1",
"@stylistic/eslint-plugin-migrate": "^1.6.1",
"@tanstack/eslint-plugin-query": "^5.20.1",
@@ -64,6 +65,7 @@
"import-sync": "^2.2.0",
"rollup-plugin-visualizer": "^5.12.0",
"stats.js": "^0.17.0",
"typecov": "^0.2.3",
"typescript": "^5.3.3",
"typescript-eslint-parser-for-extra-files": "^0.6.0",
"vite": "^5.1.1",
923 changes: 912 additions & 11 deletions fe/yarn.lock

Large diffs are not rendered by default.

0 comments on commit a7ce607

Please sign in to comment.