Skip to content

Sunrise FAQ updated changes. #2550

Sunrise FAQ updated changes.

Sunrise FAQ updated changes. #2550

name: Pull Request CI/CD
on: pull_request
env:
BASE_IMAGE: ghcr.io/graphprotocol/graph-docs-staging
jobs:
build:
if: contains(github.head_ref, 'crowdin') == false
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
- name: Check out the repo
uses: actions/checkout@v4
- name: Set up env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 20
packageManager: pnpm
- name: Install dependencies
run: pnpm install
- name: Lint and typecheck
run: pnpm check
- name: Build Docker image
uses: docker/build-push-action@v5
with:
context: . # required to respect .dockerignore
cache-from: type=registry,ref=${{ env.BASE_IMAGE }}:latest
build-args: |
ENVIRONMENT=staging
push: false