Skip to content

feat: add buildOnce for one-time type generation without file watchin… #25

feat: add buildOnce for one-time type generation without file watchin…

feat: add buildOnce for one-time type generation without file watchin… #25

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
if: github.repository == 'omnysecurity/rollup-plugin-typed-gql'
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm
- run: pnpm install --frozen-lockfile
- uses: changesets/action@v1
id: changesets
with:
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}