Bump tsx from 4.21.0 to 4.22.0 #170
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: Check | |
| on: | |
| push: | |
| jobs: | |
| check-production: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: curl -o .env https://raw.githubusercontent.com/squiglink/server/main/.env.example | |
| - run: curl -o Dockerfile https://raw.githubusercontent.com/squiglink/server/main/Dockerfile | |
| - run: curl -o compose.yaml https://raw.githubusercontent.com/squiglink/server/main/compose.production.yaml | |
| - run: docker compose run --rm server task database-create | |
| - run: docker compose run --rm server task kysely -- migrate:latest | |
| - run: docker compose up --wait | |
| - run: curl --silent http://127.0.0.1:3000/health | |
| - run: docker compose down | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: go-task/setup-task@v1 | |
| - run: cp .env.example .env | |
| - run: task install-dependencies | |
| - run: task database-create-test | |
| - run: task kysely-test -- migrate:latest | |
| - run: task check |