Skip to content

Commit

Permalink
fix(workflows): remove inputs from publish-release release step (#1741)
Browse files Browse the repository at this point in the history
* chore(workflows): name publish-release steps

* fix(publish-release): remove inputs from release step
  • Loading branch information
caugner authored Mar 18, 2024
1 parent 065e9b1 commit 6aeb495
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,26 @@ jobs:
if: github.repository == 'mdn/bob'
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v4
- name: Release
uses: GoogleCloudPlatform/release-please-action@v4
id: release
with:
token: "${{ secrets.GITHUB_TOKEN }}"
release-type: "node"

- uses: actions/checkout@v4
- name: Setup
if: steps.release.outputs.release_created
uses: actions/checkout@v4

- uses: actions/setup-node@v4
- name: Checkout
if: steps.release.outputs.release_created
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
if: steps.release.outputs.release_created

- run: npm ci
- name: Install
if: steps.release.outputs.release_created
run: npm ci

- run: npm publish
- name: Publish
if: steps.release.outputs.release_created
run: npm publish
env:
NODE_AUTH_TOKEN: "${{secrets.NPM_AUTH_TOKEN}}"
if: steps.release.outputs.release_created

0 comments on commit 6aeb495

Please sign in to comment.