Preserve capture bindings on automatic deploys #39
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: CI | |
| # yamllint disable-line rule:truthy | |
| on: | |
| pull_request: {} | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| - name: Set up mise | |
| uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 | |
| - name: Check | |
| run: mise run check | |
| - name: Build | |
| run: mise run build | |
| - name: Build capture PWA | |
| run: mise run capture:build | |
| - name: Smoke test CLI | |
| run: | | |
| ./dist/notes help | |
| ./dist/notes root |