Skip to content

chore: ci

chore: ci #641

Workflow file for this run

name: Test CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
- name: install
run: yarn
- name: lint
run: yarn run lint
test-js:
runs-on: ubuntu-latest
steps:
- name: clone
run: git clone https://github.com/ant-design/ant-design-pro.git --depth=1
- name: install
run: cd ant-design-pro && yarn
- name: fetch
run: cd ant-design-pro && yarn pro fetch-blocks --js --branch ${GITHUB_REF##*/}
- name: lint:fix
run: cd ant-design-pro && npm run lint:fix && yarn run prettier
- name: lint
run: cd ant-design-pro && npm run lint
- name: build
run: cd ant-design-pro && npm run build