Files
iwb-plugins-desktop/.github/workflows/ci.yml
T

25 lines
503 B
YAML

name: validate
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
# 连推多次时只保留最后一次,避免排队任务白烧分钟
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: node scripts/validate.mjs