feat: add support for persisted operations #10
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: CDN CI | |
on: | |
pull_request: | |
paths: | |
- cdn-server/**/* | |
- .github/workflows/cdn-ci.yaml | |
concurrency: | |
group: ${{github.workflow}}-${{github.head_ref}} | |
cancel-in-progress: true | |
env: | |
CI: true | |
jobs: | |
build_test: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/node | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Check if git is not dirty after generating files | |
run: git diff --no-ext-diff --exit-code | |
- name: Build | |
run: pnpm run --filter ./cdn-server --filter ./cdn-server/cdn build | |
- name: Lint | |
run: pnpm run --filter ./cdn-server --filter ./cdn-server/cdn test lint |