Skip to content

Commit

Permalink
Update release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
takameyer committed Jun 19, 2023
1 parent 8f10b82 commit d07123a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish-package-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ jobs:
cache-dependency-path: '**/package-lock.json'

- name: Install node modules
run: npx lerna bootstrap --scope=${{ env.PACKAGE_NAME }} --include-dependencies
run: npm ci --ignore-scripts

- name: Bundle package
run: npm run bundle --workspace=${{env.PACKAGE_NAME}}

- name: Read version
id: get-version
Expand All @@ -106,7 +109,7 @@ jobs:

- name: Publish ${{env.RELEASE_TITLE}} v${{ steps.get-version.outputs.version }} on NPM
working-directory: ${{env.PACKAGE_PATH}}
run: npm publish --tag '${{ inputs.tag}}'
run: npm publish --tag '${{ inputs.tag}} --dry-run'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down

0 comments on commit d07123a

Please sign in to comment.