Bump cookie and express in /discovery #402
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: Build | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
merge_group: | |
permissions: | |
contents: read | |
defaults: | |
run: | |
working-directory: peer | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "17" | |
distribution: "temurin" | |
cache: "sbt" | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: "npm" | |
cache-dependency-path: peer/package-lock.json | |
- run: npm ci | |
- name: Build Scala and check with scalafix | |
run: sbt "scalafixAll --check" | |
- name: Build JavaScript Sources from Scala | |
run: sbt fastLinkJS | |
- name: Build JavaScript | |
run: npm run build -- --mode lukasschreiber |