Fix publishing issue (#166)

This commit is contained in:
Pavel 2022-08-25 18:08:42 +03:00 committed by GitHub
parent 0148c33dbc
commit 657499e2c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ jobs:
- name: "Publish to npmjs.com"
run: |
result=$(pnpm --no-git-checks -r publish -filter '@fluencelabs/*')
result=$(pnpm --no-git-checks -r publish -filter '@fluencelabs/*' --access public)
if [[ $result == "There are no new packages that should be published" ]]
then
echo ERROR: no packages have been published. Did you forget to bump version?
@ -37,15 +37,3 @@ jobs:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: "Get the version of fluence-js package"
id: package-version
uses: martinbeentjes/npm-get-version-action@main
with:
path: packages/fluence-js
- name: "Create tag for release"
uses: rickstaa/action-create-tag@v1
with:
tag: "v${{ steps.package-version.outputs.current-version }}"
message: ""
github_token: ${{ secrets.GITHUB_TOKEN }}