mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-23 12:41:20 +08:00
15e8f72117
* style: ui edit。 * feat: ui edit complete * style: ui edit * chore: update style import path * feat: update import path * chore: lint fix * feat: add package.lok * chore: update node version * chore: update actions * chore: remove lock file * fix: node version update * fix: revert preview actiion * fix: tdesign-wrapper classname fix * chore: complete type pkg * chore: action complete * feat: update redirect url * feat: rename layouts to layout * chore: revert layout to layouts Co-authored-by: Uyarn <uyarnchen@gmail.com>
29 lines
729 B
YAML
29 lines
729 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
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 14
|
|
- name: Cache node modules
|
|
uses: actions/cache@v2
|
|
env:
|
|
cache-name: cache-node-modules
|
|
with:
|
|
path: ~/.npm
|
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-build-${{ env.cache-name }}-
|
|
${{ runner.os }}-build-
|
|
${{ runner.os }}-
|
|
- run: npm install
|
|
shell: bash
|
|
- run: npm run lint
|