From 2c8ada5204357a49a8badd9fae8df670d3dae515 Mon Sep 17 00:00:00 2001 From: barshaul Date: Sun, 21 Jan 2024 14:34:23 +0000 Subject: [PATCH] release npm platform packages for 0.1.2 --- .github/workflows/npm-cd.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-cd.yml b/.github/workflows/npm-cd.yml index 6faaa09b3f..5b148d28dc 100644 --- a/.github/workflows/npm-cd.yml +++ b/.github/workflows/npm-cd.yml @@ -6,6 +6,10 @@ on: push: tags: - "v*.*" + pull_request: + paths: + - .github/workflows/npm-cd.yml + jobs: publish-binaries: name: Publish packages to NPM @@ -60,7 +64,8 @@ jobs: - name: Set the release version shell: bash run: | - echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV + # echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV + echo "RELEASE_VERSION=0.1.2" >> $GITHUB_ENV ###### NODEJS ##### @@ -92,7 +97,6 @@ jobs: shell: bash working-directory: ./node run: | - npm set "//registry.npmjs.org//:_authToken=$NODE_AUTH_TOKEN" npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}