mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-05-09 16:22:13 +00:00
Fix publishing issue (#166)
This commit is contained in:
parent
0148c33dbc
commit
657499e2c8
14
.github/workflows/release_packages.yml
vendored
14
.github/workflows/release_packages.yml
vendored
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user