Skip to content

update with env variable, trigger #6

update with env variable, trigger

update with env variable, trigger #6

name: Publish Components
on:
push:
branches: [portal-ui]
paths:
- 'modules/components/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '14.19.0'
registry-url: 'https://npm.pkg.github.com'
- run: |
cd modules/components
npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}