Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aljesusg authored Apr 11, 2023
1 parent fe748aa commit 0f4ebc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
cache: yarn
cache-dependency-path: yarn.lock
- name: Install dependencies and build 🔧
run: yarn install && yarn run build
run: yarn install && yarn build
- name: Major release
if: "${{ github.event.inputs.release_type == 'major' }}"
run: yarn version --major --no-git-tag-version
Expand All @@ -65,10 +65,10 @@ jobs:
path-to-changelog: CHANGELOG.md
version: ${{ env.NEW_VERSION }}
operation: release
- name: Publish package on Yarn 📦
- name: Publish package 📦
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
yarn publish --no-verify-access
npm publish --no-verify-access
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Push changes to repository
Expand Down

0 comments on commit 0f4ebc5

Please sign in to comment.