From f3ecfcb16112b2d46110d5488852b6e228f2f9f7 Mon Sep 17 00:00:00 2001 From: Geovanni Perez <1775792+geoperez@users.noreply.github.com> Date: Tue, 5 Dec 2023 11:35:11 -0600 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2e5d557..8bfd757 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,26 +6,7 @@ on: jobs: publish: - runs-on: [ubuntu-latest] - env: - CI: true - - steps: - - name: 🛎 Checkout - uses: actions/checkout@v4 - - name: 📦 Cache - uses: actions/cache@v3 - with: - path: ~/.npm - key: node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - node- - - name: 🏗 npm build - run: | - npm ci - npm run build - - name: 🍱 Publish - uses: mikeal/merge-release@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + uses: unosquare/bump-npm-version/.github/workflows/publish-public.yml@master + secrets: + github-token: ${{ secrets.GPR_ACCESS_TOKEN }} + npm-token: ${{ secrets.NPM_TOKEN }}