Skip to content

0.0.0-alpha.6

0.0.0-alpha.6 #10

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 --no-git-checks