Skip to content

New Crowdin updates #1609

New Crowdin updates

New Crowdin updates #1609

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/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout the repo
uses: actions/checkout@v3
- name: Set up pnpm
uses: pnpm/action-setup@v2
- name: Install dependencies
run: pnpm install
- name: Lint and typecheck
run: pnpm check
- name: Build Docker image
uses: docker/build-push-action@v4
with:
context: . # required to respect .dockerignore
cache-from: type=registry,ref=${{ env.BASE_IMAGE }}:latest
push: false