From bec3c66c8504d52037d5c61319563ce4fcf5f167 Mon Sep 17 00:00:00 2001 From: Wojciech Trocki Date: Wed, 3 Aug 2022 16:29:08 +0100 Subject: [PATCH] chore: release workflow updates --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c02f5a5..0a844b9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,8 +17,6 @@ jobs: registry-url: "https://registry.npmjs.org" - run: yarn install working-directory: ./spectral - - working-directory: ./spectral - run: yarn build - name: Inject slug/short variables uses: rlespinasse/github-slug-action@v4 - name: Validate Tag @@ -27,8 +25,10 @@ jobs: - name: Update versions of packages working-directory: ./spectral run: yarn setupRelease $GITHUB_REF_SLUG + - run: yarn build + working-directory: ./spectral - name: Publish packages working-directory: ./spectral/dist - run: npm publish --tag=dev + run: npm publish --dry-run --tag=dev --verbose env: NODE_AUTH_TOKEN: ${{ secrets.RHOAS_NPM_TOKEN }} #