From 5507c38e33308fd0117aded5b64fa0d4851425d8 Mon Sep 17 00:00:00 2001 From: ladeirarodolfo <39910206+ladeirarodolfo@users.noreply.github.com> Date: Wed, 15 Nov 2023 11:34:46 -0300 Subject: [PATCH] Update npm-publish-github-packages.yml --- .github/workflows/npm-publish-github-packages.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index 478888f0d..d3e1980b0 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -9,18 +9,7 @@ on: - main jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 18 - - run: yarn install --frozen-lockfile - - run: yarn build - publish-gpr: - needs: build runs-on: ubuntu-latest permissions: contents: read @@ -31,6 +20,8 @@ jobs: with: node-version: 18 registry-url: https://npm.pkg.github.com/ + - run: yarn install --frozen-lockfile + - run: yarn build - run: lerna publish --ignore-scripts --yes --canary --registry "https://npm.pkg.github.com/" env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}