Adds CompositionSuccess.publicSdl - SDL with only the queryable fields #91
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: PR | |
on: [pull_request] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup pnpm | |
uses: pnpm/action-setup@v2 | |
- name: setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 21 | |
cache: 'pnpm' | |
- name: install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: typecheck | |
run: pnpm typecheck | |
- name: tests | |
run: pnpm test | |
bench: | |
name: Benchmark | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup pnpm | |
uses: pnpm/action-setup@v2 | |
- name: setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- name: install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: bench | |
run: pnpm bench | |
release_snapshot: | |
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }} | |
name: Release snapshot | |
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main | |
with: | |
npmTag: alpha | |
buildScript: build | |
nodeVersion: 20 | |
packageManager: pnpm | |
secrets: | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
npmToken: ${{ secrets.NPM_TOKEN }} | |
release_candidate: | |
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@main | |
name: Release candidate | |
if: ${{ github.event.pull_request.title == 'Upcoming Release Changes' }} | |
with: | |
npmTag: rc | |
restoreDeletedChangesets: true | |
buildScript: build | |
nodeVersion: 20 | |
packageManager: pnpm | |
secrets: | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
npmToken: ${{ secrets.NPM_TOKEN }} |