Skip to content

Commit

Permalink
chore: release workflow updates
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki committed Aug 3, 2022
1 parent d15e269 commit bec3c66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }} #

0 comments on commit bec3c66

Please sign in to comment.