Skip to content

update latest gql schema (#178) #169

update latest gql schema (#178)

update latest gql schema (#178) #169

Workflow file for this run

name: Release to NPM
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- uses: tibdex/github-app-token@v1
id: generate-token
with:
app_id: ${{ secrets.GH_WORKFLOW_APP_ID }}
private_key: ${{ secrets.GH_WORKFLOW_APP_PRIVATE_KEY }}
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}