Skip to content

feat: 增加跳转功能 && 抽象三个tabbar的topbar为公共组件 #53

feat: 增加跳转功能 && 抽象三个tabbar的topbar为公共组件

feat: 增加跳转功能 && 抽象三个tabbar的topbar为公共组件 #53

Workflow file for this run

name: PULL_REQUEST
on:
pull_request:
branches: [develop, main]
types: [opened, synchronize, reopened]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18
- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- uses: actions/cache@v3
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install
shell: bash
- name: lint 检查
run: npm run lint