From bd2d132007d2970da0c8f1bbe1d0e5c7fcdbd5ac Mon Sep 17 00:00:00 2001 From: Walidoux Date: Fri, 17 May 2024 19:24:25 +0100 Subject: [PATCH] test(ci): trying out something --- .github/workflows/release.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 54db1d2..d0c69fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,12 +27,11 @@ jobs: with: node_version: 20.x cache: 'pnpm' + registry-url: https://npm.pkg.github.com/ + scope: '@habbaz-dev' - name: Install dependencies - run: | - pnpm i --frozen-lockfile - echo "@habbaz-dev:registry=https://npm.pkg.github.com" >> .npmrc - echo "//npm.pkg.github.com/:_authToken=${{ secrets.PKG_GITHUB_TOKEN }}" >> .npmrc + run: pnpm i --frozen-lockfile - name: Publish packages to GPR id: changesets @@ -43,4 +42,4 @@ jobs: commit: 'chore(packages): release next version' title: 'chore(packages): new release candidate' env: - GITHUB_TOKEN: ${{ secrets.PKG_GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}