From 62756aaffdbbc4739e7b90b5c3e9b81bd52489e4 Mon Sep 17 00:00:00 2001 From: Mararok Date: Sun, 3 Dec 2023 22:30:38 +0100 Subject: [PATCH] fix: yarn --- .github/workflows/release.yml | 4 +--- .yarnrc.yml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5699d0a..a6407ca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,9 +26,7 @@ jobs: with: registry-url: 'https://registry.npmjs.org' node-version: 20.x - scope: '@hexancore' cache: 'yarn' - always-auth: true - name: Install dependencies run: yarn install --immutable @@ -58,7 +56,7 @@ jobs: - name: Publish run: | - echo "npmAuthToken: '${{ env.NODE_AUTH_TOKEN }}'" >> ./yarnrc.yml + echo -e "\nnpmAuthToken: '${{ env.NODE_AUTH_TOKEN }}'" >> ./yarnrc.yml yarn npm publish --access public --tag ${{ env.RELEASE_TAG }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.yarnrc.yml b/.yarnrc.yml index 851060a..aa2bfcb 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -7,4 +7,4 @@ nodeLinker: node-modules yarnPath: .yarn/releases/yarn-4.0.2.cjs npmRegistryServer: https://registry.npmjs.org -npmPublishRegistry: https://registry.npmjs.org \ No newline at end of file +npmPublishRegistry: https://registry.npmjs.org