Skip to content

fix: 修复DatetimePicker组件日期不联动、最大日期限制问题(#76) #230

fix: 修复DatetimePicker组件日期不联动、最大日期限制问题(#76)

fix: 修复DatetimePicker组件日期不联动、最大日期限制问题(#76) #230

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
push:
branches:
- '**'
pull_request:
branches:
- main
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install pnpm
run: npm i pnpm@7 -g
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Run linter
run: npm run lint
test:
name: Testing and Coverage
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
# codecov.io requires a fetch depth > 1.
fetch-depth: 2
- name: Install pnpm
run: npm i pnpm@7 -g
# - name: add chmod
# run: chmod -R 777 ./*
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Run test cases
run: npm run test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2.1.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install pnpm
run: npm i pnpm@7 -g
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Run build
run: npm run build