chore: vendor constitution and port worktrunk hooks to Deno #5
Workflow file for this run
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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: denoland/setup-deno@v2 | |
| with: | |
| deno-version: v2.x | |
| - name: Install dprint | |
| run: | | |
| curl -fsSL https://dprint.dev/install.sh | sh | |
| echo "$HOME/.dprint/bin" >> "$GITHUB_PATH" | |
| - name: dprint check | |
| run: dprint check | |
| - name: deno lint | |
| run: deno lint | |
| - name: deno check | |
| run: deno check scripts/*.ts scripts/lib/*.ts |