Chore/bump node 9.1 dbsync 13.3 #574
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: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: 📥 Checkout repository | |
uses: actions/checkout@v2.3.1 | |
with: | |
submodules: true | |
- name: 🧰 Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: 🧰 Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
- name: 🔨 Compile TypeScript and lint | |
run: | | |
yarn install --frozen-lockfile --non-interactive --logevel=error | |
yarn build | |
yarn lint | |
env: | |
ALLOW_INTROSPECTION: true | |
CACHE_ENABLED: false | |
CARDANO_GRAPHQL_VERSION: ${{ github.sha }} | |
- name: 🔨 Build Cardano GraphQL Server Dockerfile | |
uses: docker/build-push-action@v2 | |
with: | |
cache-from: type=registry,ref=cardanofoundation/cardano-graphql-server:master | |
cache-to: type=inline | |
tags: cardanofoundation/cardano-graphql:${{ github.sha }} | |
target: server | |
- name: 🔨 Build Cardano GraphQL Hasura Dockerfile | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./packages/api-cardano-db-hasura/hasura | |
file: ./packages/api-cardano-db-hasura/hasura/Dockerfile | |
tags: cardanofoundation/cardano-graphql-hasura:${{ github.sha }} | |
- name: 🔨 Build Cardano GraphQL Background Dockerfile | |
uses: docker/build-push-action@v2 | |
with: | |
cache-from: type=registry,ref=cardanofoundation/cardano-graphql-background:master | |
cache-to: type=inline | |
tags: cardanofoundation/cardano-graphql:${{ github.sha }} | |
target: background |