Skip to content

0.0.0-alpha.7

0.0.0-alpha.7 #11

Workflow file for this run

name: Publish to npm
on:
push:
tags:
- "*"
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-project
- run: cd ./packages/gqlpt && pnpm pack
- run: pnpm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
env:
NPM_TOKEN: ${{secrets.npm_token}}
- run: START_PATH="." node ./packages/utils/build/bump-versions.js
env:
VERSION: ${{github.ref_name}}
- run: cd ./packages/gqlpt && pnpm publish --no-git-checks
- run: pnpm publish -r --filter '!@gqlpt/backend' --filter '!@gqlpt/playground' --no-git-checks