Skip to content

AddCoverage

AddCoverage #3

Workflow file for this run

name: GB3 Frontend
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
node:
name: Node
uses: ./.github/workflows/node-tests.yml
docker:
name: Docker
uses: ./.github/workflows/docker-dry-run.yml
sonarcloud:
name: SonarCloud
needs: node
uses: ./.github/workflows/sonar-analysis.yml
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
deploy-dev:
name: Deploy dev environment
if: github.ref == 'refs/heads/main' # todo: change to develop
needs:
- node
- sonarcloud
- docker
uses: ./.github/workflows/node-deploy.yml