From 2147d0180dbf3d908282ed21f5487c1f75fd65e1 Mon Sep 17 00:00:00 2001 From: Rajaniraiyn R <72294760+Rajaniraiyn@users.noreply.github.com> Date: Wed, 12 Jul 2023 11:48:49 +0530 Subject: [PATCH] try fix --- .github/workflows/publish.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ccabe69..5419209 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,6 +16,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: '18.x' + registry-url: 'https://npm.pkg.github.com' - uses: pnpm/action-setup@v2 name: Install pnpm @@ -27,17 +28,14 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - # - name: Build packages - # run: pnpm build + - name: Build packages + run: pnpm build - name: Publish packages run: | for package in $(ls packages); do cd packages/$package - pnpm version patch --no-git-tag - echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc - echo "@cds-design:registry=https://npm.pkg.github.com" >> .npmrc - pnpm publish --registry=https://npm.pkg.github.com + pnpm publish cd ../.. done env: