auth header change #5
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: Tinyauth CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "^1.23.2" | |
| - name: Setup bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install frontend dependencies | |
| run: | | |
| cd frontend | |
| bun install | |
| - name: Build frontend | |
| run: | | |
| cd frontend | |
| bun run build | |
| - name: Copy frontend | |
| run: | | |
| cp -r frontend/dist internal/assets/dist | |
| - name: Run tests | |
| run: go test -v ./... |