Skip to content

Commit

Permalink
fix: yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
Mararok committed Dec 3, 2023
1 parent 7201ccd commit 62756aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
npmPublishRegistry: https://registry.npmjs.org

0 comments on commit 62756aa

Please sign in to comment.