Skip to content

ci: reconfigure CI to use the Hyperledger secrets #840

ci: reconfigure CI to use the Hyperledger secrets

ci: reconfigure CI to use the Hyperledger secrets #840

Workflow file for this run

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: openjdk@1.11
- 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/cache-action@v6.3
- 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"