更新 CI 工作流,移除并发设置;新增依赖检查工作流
Some checks failed
/ depcheck (push) Successful in 1m52s
CI / build-and-deploy (push) Has been cancelled

This commit is contained in:
严浩
2024-10-11 16:03:40 +08:00
parent 1e4a594b23
commit e26855e39e
2 changed files with 14 additions and 5 deletions

View File

@ -3,14 +3,9 @@ name: CI
on: on:
push: push:
workflow_dispatch:
concurrency:
group: 'ci'
cancel-in-progress: true
jobs: jobs:
build-and-deploy: build-and-deploy:
# timeout-minutes: 60
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

14
.github/workflows/depcheck.yaml vendored Normal file
View File

@ -0,0 +1,14 @@
on:
push:
jobs:
depcheck:
runs-on: ubuntu-latest
steps:
- uses: yanhao98/composite-actions/setup-node-environment@main
- name: depcheck
run: |
set -x
npx depcheck || true
node .depcheck.js