Skip to content

test

test #1636

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: GitHub CI - Code-Checks
on: [push, pull_request, workflow_dispatch]
jobs:
build:
name: Code-Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2.1.5
with:
node-version: 14.x
registry-url: "https://npm.pkg.github.com"
scope: "@dipa-projekt"
- name: Check via NPM
run: |
npm ci
npm run format
npm run lint:eslint
npm run coverage
npm run build
working-directory: client
env:
NODE_AUTH_TOKEN: ${{ secrets.GIT_HUB_PACKAGES_ACCESS_TOKEN_WRITE }}
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 17
- name: Check via MAVEN
run: mvn clean install -s .mvn/settings.xml
env:
GIT_HUB_USERNAME: ${{ secrets.GIT_HUB_USERNAME }}
GIT_HUB_PACKAGES_ACCESS_TOKEN: ${{ secrets.GIT_HUB_PACKAGES_ACCESS_TOKEN_WRITE }}
NODE_AUTH_TOKEN: ${{ secrets.GIT_HUB_PACKAGES_ACCESS_TOKEN_WRITE }}