Skip to content

Commit

Permalink
Fix REACT CRA release Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ndricimrr committed Feb 23, 2024
1 parent ad0b5de commit 0dabd0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish_cra.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
on: workflow_dispatch
name: Publish Create React App (CRA) template
env:
NPM_LUI_AUTH_TOKEN: ${{ secrets.NPM_LUI_AUTH_TOKEN }}

jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -9,4 +12,5 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
- run: echo "//registry.npmjs.org/:_authToken=$NPM_LUI_AUTH_TOKEN" > ~/.npmrc
- run: bash ./scripts/npmPublish.sh cra-release

0 comments on commit 0dabd0b

Please sign in to comment.