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