Skip to content

Commit

Permalink
[sc-48140] Updated github workflow to fix publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Ramzi committed Aug 15, 2023
1 parent 1e07bb2 commit ebf9b75
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: Node CI

on: [push]


env:
NPM_REGISTRY: npm.pkg.github.com
NPM_SECRET: ${{ secrets.GITHUB_TOKEN }}

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -45,4 +40,7 @@ jobs:
- name: Tag Version
run: npm --no-git-tag-version version prerelease --preid=${GITHUB_REF##*/}-${GITHUB_SHA:0:8}
- name: Publish to GitHub NPM Registry
run: npm publish
run: npm publish
env:
NPM_REGISTRY: npm.pkg.github.com
NPM_SECRET: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ebf9b75

Please sign in to comment.