From 4d6adebdc89b12dc5f9bb14b0244416d781eed14 Mon Sep 17 00:00:00 2001 From: Vladimir Antropov Date: Mon, 23 Sep 2024 11:41:53 +0200 Subject: [PATCH] chore: move pkg to public registry --- .github/workflows/build.yaml | 8 +++++++- README.md | 2 +- package-lock.json | 8 ++++---- package.json | 4 ++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8280dfb..adece43 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -39,7 +39,9 @@ jobs: test: false test-script-name: 'test' - publish-script-name: 'release' + registry-url: 'https://registry.npmjs.org' + scope: '@milaboratories' + publish-to-public: true env: >- { @@ -50,6 +52,10 @@ jobs: aws-iam-role-to-assume: 'arn:aws:iam::511903394050:role/milab-euce1-prod-github-oidc-role-pl-registry' secrets: + env: | + { + "NPMJS_TOKEN": ${{ toJSON(secrets.NPMJS_TOKEN) }} + } TELEGRAM_NOTIFICATION_TARGET: ${{ secrets.TG_CHANNEL_MIBUILDS }} TELEGRAM_API_TOKEN: ${{ secrets.TG_CI_BOT_TOKEN }} GH_PAT: ${{ secrets.GH_PAT_CLASSIC_BLOCKS }} diff --git a/README.md b/README.md index eca5a8f..cd9323c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ for small binary utilities with small implementation. The binary version is detected from `version` in package.json file All binaries have their software descriptors inside NPM package released along with the packages. -Say, for `sleep` command, there is a `@milaboratory/small-binaries:sleep` software descirptor to be used in +Say, for `sleep` command, there is a `@milaboratories/software-small-binaries:sleep` software descirptor to be used in Platforma workflows ## Patching existing binaries diff --git a/package-lock.json b/package-lock.json index 21dc551..1791528 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "@milaboratory/small-binaries", - "version": "1.10.0", + "name": "@milaboratories/software-small-binaries", + "version": "1.10.2", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@milaboratory/small-binaries", - "version": "1.10.0", + "name": "@milaboratories/software-small-binaries", + "version": "1.10.2", "license": "UNLICENSED", "devDependencies": { "@milaboratory/pl-package-builder": "^2.8.0" diff --git a/package.json b/package.json index 14be7d1..6918aa8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "@milaboratory/small-binaries", - "version": "1.10.1", + "name": "@milaboratories/software-small-binaries", + "version": "1.10.2", "description": "Small cross-platform binaries, like 'sleep' or 'hello-world', suitable for test needs", "scripts": { "cleanup": "rm -rf ./pkg-*.tgz && rm -rf ./build/ && rm -rf ./dist/",