From 229ce34d150facf7172c7659a9d8546faf6cdeed Mon Sep 17 00:00:00 2001 From: Nuno Sousa Date: Thu, 21 Dec 2023 12:47:13 +0000 Subject: [PATCH] Switch to npm --- .github/workflows/pre-release.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 3c204b07c..f6906a6ff 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -28,19 +28,12 @@ jobs: - name: Install Dependencies run: | yarn install --frozen-lockfile - yarn plugin import version - - - name: Setup .yarnrc.yml - run: | - yarn config set npmScopes.customerio.npmRegistryServer "https://npm.pkg.github.com" - yarn config set npmScopes.customerio.npmAlwaysAuth true - yarn config set npmScopes.customerio.npmAuthToken $NPM_AUTH_TOKEN - yarn config - env: - NPM_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish + env: + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | cd packages/node - yarn version prerelease - yarn npm publish + yarn build + npm version prerelease + npm publish