Skip to content

Commit

Permalink
chore: adds build step to publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rustygreen committed Feb 27, 2024
1 parent 41f2b44 commit 62625c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,22 @@ jobs:
run: echo $'@ng-supabase:registry = "https://registry.npmjs.org/"\r//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}' > dist/libs/core/.npmrc

- name: Publish "core" package
run: cp .npmrc dist/libs/core && cd dist/libs/core && npm publish --access public
run: cd dist/libs/core && npm publish --access public

- name: Create NPM registry creds for "bootstrap" package
run: echo $'@ng-supabase:registry = "https://registry.npmjs.org/"\r//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}' > dist/libs/bootstrap/.npmrc

- name: Publish "bootstrap" package
run: cp .npmrc dist/libs/bootstrap && cd dist/libs/bootstrap && npm publish --access public
run: cd dist/libs/bootstrap && npm publish --access public

- name: Create NPM registry creds for "material" package
run: echo $'@ng-supabase:registry = "https://registry.npmjs.org/"\r//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}' > dist/libs/material/.npmrc

- name: Publish "material" package
run: cp .npmrc dist/libs/material && cd dist/libs/material && npm publish --access public
run: cd dist/libs/material && npm publish --access public

- name: Create NPM registry creds for "primeng" package
run: echo $'@ng-supabase:registry = "https://registry.npmjs.org/"\r//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}' > dist/libs/primeng/.npmrc

- name: Publish "primeng" package
run: cp .npmrc dist/libs/primeng && cd dist/libs/primeng && npm publish --access public
run: cd dist/libs/primeng && npm publish --access public

0 comments on commit 62625c2

Please sign in to comment.