chore(release): 2.0.2 #21
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: | |
branches: 'master' | |
pull_request: | |
branches: '*' | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 6.35.1 | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Run Prettier | |
run: pnpm prettier | |
- name: Run Eslint | |
run: pnpm eslint | |
- name: Run Stylelint | |
run: pnpm stylelint | |
- name: Run test | |
run: pnpm test | |
- name: Run build | |
run: pnpm build |