[elsa] 修复保存运行中节点的脏数据后,重新打开应用时,节点尚未渲染时,drawAnimation调用导致的空指针问题 (#90) #78
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Elsa Compile | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| - '[0-9]+.[0-9]+.x' # 匹配 x.x.x 格式且最后一位为 x(如 1.2.x、22.1.x) | |
| paths: | |
| - 'framework/elsa/**' | |
| pull_request: | |
| branches: | |
| - 'main' | |
| - '[0-9]+.[0-9]+.x' | |
| paths: | |
| - 'framework/elsa/**' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js 20.16 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.16' | |
| - name: Build fit-elsa | |
| working-directory: ./framework/elsa/fit-elsa | |
| run: | | |
| npm install | |
| npm run build | |
| - name: Build fit-elsa-react | |
| working-directory: ./framework/elsa/fit-elsa-react | |
| run: | | |
| npm install | |
| npm run build |