mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-13 09:40:34 +08:00
28 lines
719 B
YAML
28 lines
719 B
YAML
name: Check Domain Availability
|
|
on:
|
|
# manual trigger only
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
check:
|
|
name: Check
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
# - name: Tune GitHub-hosted runner network
|
|
# # https://github.com/actions/runner-images/issues/1187
|
|
# uses: smorimoto/tune-github-hosted-runner-network@v1
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
persist-credentials: false
|
|
- uses: pnpm/action-setup@v4
|
|
with:
|
|
run_install: false
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: ".node-version"
|
|
cache: "pnpm"
|
|
- run: pnpm install
|
|
- run: pnpm run node Build/validate-domain-alive.ts
|