mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
16becbfdec
* fix: 修复一些 ts 报错 * fix: 修复 ts 报错 * fix: 修复 ts 报错
34 lines
808 B
YAML
34 lines
808 B
YAML
name: PR test
|
|
|
|
on:
|
|
pull_request:
|
|
branches: ['**']
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [16.x]
|
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
persist-credentials: false
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: test
|
|
run: |
|
|
npm i --legacy-peer-deps
|
|
cd packages/ooxml-viewer
|
|
npm i --legacy-peer-deps
|
|
cd ../../
|
|
npm run build --workspaces
|
|
npm test --workspaces
|
|
sh deploy-gh-pages.sh
|