From a51cfd88713c97a65979a918ee7600e6a8b9ce49 Mon Sep 17 00:00:00 2001 From: William Armiros <54150514+willarmiros@users.noreply.github.com> Date: Wed, 15 Sep 2021 22:52:59 -0700 Subject: [PATCH] chore: correct step output key in readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fb1de36b2..ed9412a73 100644 --- a/README.md +++ b/README.md @@ -173,19 +173,19 @@ jobs: - uses: actions/checkout@v2 # these if statements ensure that a publication only occurs when # a new release is created: - if: ${{ steps.release.outputs.release_created }} + if: ${{ steps.release.outputs.releases_created }} - uses: actions/setup-node@v1 with: node-version: 12 registry-url: 'https://registry.npmjs.org' - if: ${{ steps.release.outputs.release_created }} + if: ${{ steps.release.outputs.releases_created }} # if you are using Yarn, substitute the command below with `yarn install --frozen-lockfile` - run: npm ci - if: ${{ steps.release.outputs.release_created }} + if: ${{ steps.release.outputs.releases_created }} - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - if: ${{ steps.release.outputs.release_created }} + if: ${{ steps.release.outputs.releases_created }} ``` > So that you can keep 2FA enabled for npm publications, we recommend setting