Skip to content

Publish Create React App (CRA) template #5

Publish Create React App (CRA) template

Publish Create React App (CRA) template #5

Workflow file for this run

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
if: github.ref_name == 'fix-cra-release-workflow'
steps:
- uses: actions/checkout@v4
- 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