|
|
@ -373,53 +373,5 @@ jobs: |
|
|
|
- name: test |
|
|
|
run: npm test |
|
|
|
env: |
|
|
|
<<<<<<< HEAD |
|
|
|
LIB_DIR: dist |
|
|
|
needs: setup |
|
|
|
|
|
|
|
style: |
|
|
|
name: style compile |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- name: checkout |
|
|
|
uses: actions/checkout@v3 |
|
|
|
|
|
|
|
- name: restore cache from package-lock.json |
|
|
|
uses: actions/cache@v3 |
|
|
|
with: |
|
|
|
path: package-temp-dir |
|
|
|
key: lock-${{ github.sha }} |
|
|
|
|
|
|
|
- name: restore cache from node_modules |
|
|
|
uses: actions/cache@v3 |
|
|
|
with: |
|
|
|
path: node_modules |
|
|
|
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} |
|
|
|
|
|
|
|
- name: compile |
|
|
|
run: npm run compile |
|
|
|
|
|
|
|
- name: dist |
|
|
|
run: npm run dist |
|
|
|
env: |
|
|
|
NODE_OPTIONS: --max_old_space_size=4096 |
|
|
|
|
|
|
|
- name: lessc default |
|
|
|
run: npx lessc --js ./dist/antd.less |
|
|
|
|
|
|
|
- name: lessc dark |
|
|
|
run: npx lessc --js ./dist/antd.dark.less |
|
|
|
|
|
|
|
- name: lessc variable |
|
|
|
run: npx lessc --js ./dist/antd.variable.less |
|
|
|
|
|
|
|
- name: lessc component |
|
|
|
run: npx lessc --js ./es/input/style/index.less |
|
|
|
|
|
|
|
- name: lessc mixins |
|
|
|
run: npx lessc --js ./es/style/mixins/index.less |
|
|
|
needs: setup |
|
|
|
======= |
|
|
|
LIB_DIR: ${{ matrix.module }} |
|
|
|
needs: compile |
|
|
|
>>>>>>> origin/master |
|
|
|