diff --git a/.github/actions/release/action.yaml b/.github/actions/release/action.yaml index c9149286..b03d3887 100644 --- a/.github/actions/release/action.yaml +++ b/.github/actions/release/action.yaml @@ -1,9 +1,6 @@ name: Release job description: build affected packages and publish them to npm inputs: - npm_token: - description: 'NPM token' - required: true gh_token: description: 'Github token' required: true @@ -29,11 +26,6 @@ runs: - name: Build shell: bash run: npx nx run-many -t build - - name: Set publish config - env: - NPM_TOKEN: ${{ inputs.npm_token }} - shell: bash - run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" - name: Version shell: bash env: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 361a87f2..8b677d84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,7 +52,6 @@ jobs: release: runs-on: ubuntu-latest needs: [install, lint, test, build] - if: github.event_name != 'pull_request' steps: - uses: actions/checkout@v3 with: @@ -60,5 +59,4 @@ jobs: - uses: './.github/actions/release' with: gh_token: ${{ secrets.GITHUB_TOKEN }} - npm_token: ${{ secrets.NPM_TOKEN }} gh_actor: ${GITHUB_ACTOR} \ No newline at end of file