diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..0d467ab4 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,24 @@ +name: Unit test workflow +on: + push: + branches: + - '**' # Run on any branch + +# Concurrency group name ensures concurrent workflow runs wait for any in-progress job to finish +concurrency: + group: merge-${{ github.ref }} + +permissions: + id-token: write # This is required for requesting the JWT + contents: read # This is required for actions/checkout + +jobs: + TestApp: + runs-on: ubuntu-latest + steps: + - name: Git clone the repository + uses: actions/checkout@v3 + - name: Test app + run: | + npm i + npx nx run-may -t test