Fix edge case in canvas graph causing panic #186
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: Build | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: latest | |
| - name: PNPM | |
| uses: pnpm/action-setup@v2 | |
| with: | |
| version: latest | |
| - name: Installation | |
| run: pnpm i --frozen-lockfile | |
| - name: Create config | |
| run: | | |
| echo $CONFIG_JSON > ./src/config.json | |
| env: | |
| CONFIG_JSON: ${{ secrets.CONFIG_FILE }} | |
| - name: Lint | |
| run: pnpm lint | |
| - name: Build | |
| run: tsc |