diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5494df5..dcdb23b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ on: jobs: deploy: - name: release + name: release runs-on: group: npm-deploy environment: @@ -22,10 +22,10 @@ jobs: # Refer to it by calling env.NPM_TOKEN # This token is also limited by IP to ONLY work on the runner NPM_TOKEN: op://npm-deploy/npm-runner-token/secret - + - name: Checkout uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 - + - name: Setup Node uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 with: @@ -34,11 +34,10 @@ jobs: - name: Install dependencies run: yarn install --immutable --immutable-cache - + - name: Release env: NPM_CONFIG_USERCONFIG: /dev/null NPM_TOKEN: ${{ env.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Optional - run: yarn g:release - + run: yarn publish