-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (33 loc) · 833 Bytes
/
fe.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: fe
on:
push:
#paths: ['fe/**']
defaults:
run:
working-directory: ./fe
jobs:
fe:
name: fe
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: yarn
cache-dependency-path: ${ GITHUB_WORKSPACE }/fe/yarn.lock
- name: install
run: yarn install --immutable
- name: tsc
run: yarn run vue-tsc
- name: eslint
if: ${{ !cancelled() }}
run: yarn run eslint src
- name: codechecks
if: ${{ !cancelled() }}
# contains CVE that triggers Dependabot
run: |
yarn add -D typecov @codechecks/client
yarn run codechecks ../.github/codechecks.yml
env:
CC_SECRET: ${{ secrets.CC_SECRET }}