chore: bump schema version #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish @tg-app/validation-service-gql-schema package | |
on: | |
push: | |
tags: | |
- 'schema/v[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
push_to_registry: | |
name: Push Docker image to Docker Hub | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- run: yarn rebuild | |
- run: yarn workspace @tg-app/validation-service-gql-schema build | |
- name: Setup .yarnrc.yml | |
run: | | |
yarn config set npmScopes.tg-app.npmAuthToken $NPM_AUTH_TOKEN | |
env: | |
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- run: yarn workspace @tg-app/validation-service-gql-schema npm publish |