Skip to content

Commit

Permalink
chore: fix schema workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bigslycat committed Jan 13, 2024
1 parent f039bbc commit dbb874a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/schema-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
scope: '@tg-app'
- run: yarn rebuild
- run: yarn workspace @tg-app/validation-service-gql-schema build
- run: yarn workspace @tg-app/validation-service-gql-schema npm publish
- name: Setup .yarnrc.yml
run: |
yarn config set npmScopes.tg-app.npmRegistryServer "https://registry.npmjs.org"
yarn config set npmScopes.tg-app.npmAlwaysAuth true
yarn config set npmScopes.tg-app.npmAuthToken $NPM_AUTH_TOKEN
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: yarn workspace @tg-app/validation-service-gql-schema npm publish

0 comments on commit dbb874a

Please sign in to comment.