Skip to content

CI Build

CI Build #6

Workflow file for this run

name: CI Build
on:
workflow_dispatch:
permissions:
id-token: write
checks: write
packages: write
actions: read
contents: write
issues: read
pull-requests: write
jobs:
build-webfrontend:
runs-on: ubuntu-latest
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20"
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- run: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc'
- run: make webfrontend-build
- uses: actions/upload-artifact@v3
with:
name: webfrontend
path: service/webfrontend/build/
test-webfrontend:
runs-on: ubuntu-latest
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20"
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- run: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc'
- run: make webfrontend-test
- name: Upload Test Results (webfrontend)
if: always()
uses: actions/upload-artifact@v3
with:
name: webfrontend-test-results
path: "**/webfrontend/junit.xml"