add automatic jest test in docker build to workflows

This commit is contained in:
mightypanders 2023-06-24 20:09:00 +02:00
parent a6f19ccd2b
commit dd72f8e165
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
name: Compile the repository
on: [pull_request]
env:
REGISTRY: gitea.brudi.xyz
IMAGE_NAME: ${{ gitea.repository }}
USER: ${{ gitea.actor }}
jobs:
compile:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Run Tests
run: docker build --target test .