diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7681c62f..2287877d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,9 @@ name: Release on: + push: + branches: + - fix/release release: types: [published] @@ -34,5 +37,4 @@ jobs: - name: Publish run: | yarn workspace megalodon npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + diff --git a/.yarnrc.yml b/.yarnrc.yml index 9fce5aad..ab7f0ce9 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,2 +1,3 @@ yarnPath: .yarn/releases/yarn-3.8.0.cjs nodeLinker: node-modules +