This repository has been archived by the owner on Dec 21, 2024. It is now read-only.
chore: add more info to readme #406
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: OpenGB | |
on: | |
- push | |
jobs: | |
test-core: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: "1.44.1" | |
- name: Test Core | |
env: | |
VERBOSE: true | |
run: deno task test:core | |
test-project: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: "1.44.1" | |
- name: Test Project | |
env: | |
VERBOSE: true | |
run: deno task test:project | |
test-modules: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout rivet-gg/opengb | |
uses: actions/checkout@v2 | |
with: | |
path: opengb | |
# Ensure we check out the same modules that we use it he default registry | |
- name: Read registry ref from JSON | |
id: read-ref | |
run: echo "OPENGB_MODULES_REF=$(jq -r '.' opengb/src/project/registry_default_rev.json)" >> $GITHUB_ENV | |
- name: Checkout rivet-gg/opengb-modules | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ env.OPENGB_MODULES_REF }} | |
repository: rivet-gg/opengb-modules | |
path: opengb-modules | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: "1.44.1" | |
- name: Test Modules | |
env: | |
VERBOSE: true | |
run: cd opengb && deno task test:registry | |