Skip to content

Bump webpack from 5.39.0 to 5.94.0 in /web #430

Bump webpack from 5.39.0 to 5.94.0 in /web

Bump webpack from 5.39.0 to 5.94.0 in /web #430

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches:
- '**'
# pull_request:
# branches:
# - '**'
jobs:
build:
runs-on: ubuntu-latest
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.16.1'
- name: Start Spacy
run: docker run -p "127.0.0.1:80:80" qualicen/spacyapi:en_v2_lg &
- name: Build Frontend
run: (cd web && npm run init && npm run build-prod)
- name: Grant execute permission for gradlew
run: chmod +x bundles/gradlew
- name: Build Backend
run: (cd bundles && ./gradlew --no-daemon jar -x :specmate-dbprovider-oracle:jar --info --stacktrace)
- name: Run Tests
run: (cd bundles && ./gradlew --no-daemon check -x :specmate-dbprovider-oracle:check)
- uses: saucelabs/[email protected]
with:
username: ${{ secrets.SAUCE_USERNAME }}
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
tunnelIdentifier: github-action-tunnel-${{ github.run_number }}
scVersion: 4.6.2
- name: UI-Tests
run: |
(cd bundles && ./gradlew --no-daemon export -x check)
unzip ui-tests/resources/database.zip -d bundles/specmate-std-env/generated/distributions/executable
cp ui-tests/resources/specmate-config.properties bundles/specmate-std-env/generated/distributions/executable/.
(cd bundles/specmate-std-env/generated/distributions/executable/ && java -Xmx6000m -Djdk.crypto.KeyAgreement.legacyKDF=true -jar dev-specmate-all.jar --configurationFile specmate-config.properties &)
sleep 10
(cd ui-tests/ && mvn clean test)