chore: Mediator Version 1.0.0 #886
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: CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches-ignore: | |
- "gh-pages" | |
push: | |
paths-ignore: | |
- ".git-blame-ignore-revs" | |
branches: [main] | |
# tags: ["v*"] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
Run-Tests: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/japgolly/setup-everything-scala | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # Needed for the release tag // `git fetch --tags` will also work | |
- name: Setup Java and Scala | |
uses: olafurpg/setup-scala@v14 | |
with: | |
java-version: [email protected] | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "lts/*" | |
- name: Setup Scala.JS | |
uses: japgolly/setup-scalajs@v1 | |
- name: Cache sbt | |
uses: coursier/[email protected] | |
- name: Cache embedmongo | |
uses: actions/cache@v2 | |
with: | |
path: ~/.embedmongo | |
key: ${{ runner.os }}-embedmongo-4.14.0 | |
restore-keys: | | |
${{ runner.os }}-embedmongo-4.14.0 | |
### Compile and TESTS ### | |
- run: sbt -mem 2048 -J-Xmx5120m "test" | |
env: | |
NODE_OPTIONS: "--openssl-legacy-provider" |