tdesign-vue-next-starter/.github/workflows/pull-request.yml
PY d8c89bff0c
feat/t7 (#12)
* feat: add t7 and code update

* chore(husky): add prepare commit msg

* fix: dashboard getScatterDataSet fix

* ci(pull request): add pull request cache

* fix: dashboard chart render error
2021-12-22 12:07:29 +08:00

29 lines
724 B
YAML

name: MAIN_PULL_REQUEST
on:
pull_request:
branches: [develop, main]
jobs:
MAIN_PULL_REQUEST:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache nodemodules
uses: actions/cache@v2
env:
cache-name: cache-nodemodules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- uses: actions/setup-node@v2
with:
node-version: '16'
- run: npm install
shell: bash
- run: npm run lint