Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
guzhongren committed Aug 29, 2024
1 parent 53f822f commit d1e331b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
- name: Install & Lint
run: |
npm install -g pnpm
pnpm install --no-frozen-lockfile
pnpm install --no-frozen-lockfile --ignore-scripts
pnpm run type-check
frontend-check:
Expand All @@ -189,7 +189,7 @@ jobs:
- name: Install & Lint
run: |
npm install -g pnpm
pnpm install --no-frozen-lockfile
pnpm install --no-frozen-lockfile --ignore-scripts
pnpm lint
- name: Audit for vulnerabilities
run: pnpm dlx audit-ci@^6 --critical --report-type full
Expand Down
6 changes: 3 additions & 3 deletions ops/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ backend_license_check() {

frontend_license_check() {
cd frontend
npm install --force
npm install --force --ignore-scripts
npm run license-compliance
}

Expand All @@ -64,7 +64,7 @@ backend_check() {
frontend_check() {
cd frontend
pnpm dlx audit-ci@^6 --config ./audit-ci.jsonc
pnpm install --no-frozen-lockfile
pnpm install --no-frozen-lockfile --ignore-scripts
pnpm lint
pnpm coverage:silent
bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r ./coverage/clover.xml
Expand Down Expand Up @@ -293,7 +293,7 @@ e2e_check() {
export TZ=Asia/Shanghai
npm install -g pnpm
cd frontend
pnpm install --no-frozen-lockfile
pnpm install --no-frozen-lockfile --ignore-scripts
case "$project" in
"Google Chrome")
echo "Installing Chrome browser"
Expand Down

0 comments on commit d1e331b

Please sign in to comment.