sunmao-ui/.github/workflows/ci.yml
2021-09-23 09:38:28 +08:00

22 lines
440 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "12"
- name: install dependencies
run: yarn install
- name: run test
run: yarn run test:ci
- name: run build
run: yarn run prepublish:ci