From 62625c2f3be4aef1a56f6ffa1dd2365ea31b1624 Mon Sep 17 00:00:00 2001 From: Rusty Green Date: Tue, 27 Feb 2024 18:37:33 -0500 Subject: [PATCH] chore: adds build step to publish workflow --- .github/workflows/publish.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 1abc9c1..e0522c7 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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