更新 CI 工作流,移除并发设置;新增依赖检查工作流
This commit is contained in:
5
.github/workflows/ci.yaml
vendored
5
.github/workflows/ci.yaml
vendored
@ -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
14
.github/workflows/depcheck.yaml
vendored
Normal 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
|
Reference in New Issue
Block a user