This repository has been archived by the owner on Mar 16, 2024. It is now read-only.
Update Deno #14
This file contains 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: Run Tests | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.41.0 | |
- run: docker-compose pull | |
- uses: jpribyl/action-docker-layer-caching@v0.1.1 | |
continue-on-error: true | |
- name: Check tailwind production changes | |
run: | | |
make build-tailwind | |
if [ $(git status --porcelain | wc -l) -ne "0" ]; then | |
echo "Tailwind production changes detected. Run `make build-tailwind` locally and commit + push." | |
exit 1 | |
fi | |
- run: | | |
cp .env.sample .env | |
docker-compose up -d | |
make test |