Skip to content

changesets for branch dev #2742

changesets for branch dev

changesets for branch dev #2742

Workflow file for this run

name: "Toolbox Build"
on:
workflow_dispatch:
pull_request:
paths:
- "packages/graphql/src/**"
- "packages/graphql-toolbox/**"
jobs:
build-graphql-toolbox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install dependencies
run: yarn
# the introspector is a referenced project by the Toolbox.
- name: Build the introspector
run: yarn build
working-directory: packages/introspector
- name: Build the Toolbox
env:
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
run: |
yarn build
echo "$PULL_REQUEST_NUMBER" > ./dist/prnumber
working-directory: packages/graphql-toolbox
- name: Archive Toolbox build
uses: actions/upload-artifact@v3
with:
name: graphqltoolbox
path: packages/graphql-toolbox/dist