feat: 半径输入 #1233
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
- name: npm install | |
run: npm install | |
- name: npm build | |
run: npm run build | |
- name: npm test | |
run: npm run test | |
test1: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
- name: npm install | |
run: npm install | |
- name: npm build | |
run: npm run build | |
- name: npm test1 | |
uses: GabrielBB/xvfb-action@v1 | |
with: | |
run: npm run test1 | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
test2: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
- name: npm install | |
run: npm install | |
- name: npm build | |
run: npm run build | |
- name: npm test2 | |
uses: GabrielBB/xvfb-action@v1 | |
with: | |
run: npm run test2 | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
test3: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
- name: npm install | |
run: npm install | |
- name: npm build | |
run: npm run build | |
- name: npm test3 | |
uses: GabrielBB/xvfb-action@v1 | |
with: | |
run: npm run test3 | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
test4: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
- name: npm install | |
run: npm install | |
- name: npm build | |
run: npm run build | |
- name: npm test3 | |
uses: GabrielBB/xvfb-action@v1 | |
with: | |
run: npm run test4 | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |