Skip to content

Assessments must be transformed #1432

Assessments must be transformed

Assessments must be transformed #1432

Workflow file for this run

name: Develop branch
# Builds all pushes to develop and publishes on the fly
on:
push:
branches:
- 'develop'
pull_request:
branches:
- 'develop'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Build and push Docker image api
uses: docker/build-push-action@v1
if: ${{ github.actor != 'dependabot[bot]' }}
with:
username: ${{ secrets.ORG_DOCKER_USER }}
password: ${{ secrets.ORG_DOCKER_PASS }}
dockerfile: Assessments.Frontend.Web/Dockerfile
repository: artsdatabanken/assessments-fe
tags: dev
- name: Post to slack
if: ${{ github.actor != 'dependabot[bot]' }}
run: .github/workflows/slack_dev.sh ${{ secrets.POST_SLACK }}