NTIS-1362 laboratorija: pridėjus naudotoją su PASL_ADMIN role, prisijungus nemato reikalingų meniu punktų #59
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous integration | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
permissions: { } | |
jobs: | |
build-web: | |
name: Build Web | |
runs-on: ubuntu-latest | |
container: node:18 | |
timeout-minutes: 15 | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Cache NPM dependencies | |
uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install dependencies | |
run: npm ci | |
working-directory: ntis-web | |
- name: Build | |
run: npm run build itree-web | |
working-directory: ntis-web | |
build-api: | |
name: Build API | |
runs-on: ubuntu-latest | |
container: maven:3-eclipse-temurin-17 | |
permissions: | |
contents: read | |
timeout-minutes: 20 | |
env: | |
MAVEN_ARGS: -Dhttps.protocols=TLSv1.2 -Daether.dependencyCollector.impl=bf | |
defaults: | |
run: | |
working-directory: ntis-api | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: sh local-s2-maven.cmd | |
- name: Package | |
run: mvn -B package -DskipTests | |
- run: ls -lah target |