Skip to content

Commit

Permalink
release npm platform packages for 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
barshaul committed Jan 21, 2024
1 parent fb56268 commit 2c8ada5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/npm-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
push:
tags:
- "v*.*"
pull_request:
paths:
- .github/workflows/npm-cd.yml

jobs:
publish-binaries:
name: Publish packages to NPM
Expand Down Expand Up @@ -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 #####

Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 2c8ada5

Please sign in to comment.