Skip to content

chore(deps): update dependency rollup to v4 (#11687) #385

chore(deps): update dependency rollup to v4 (#11687)

chore(deps): update dependency rollup to v4 (#11687) #385

Workflow file for this run

name: Publish Package to npmjs
on:
push:
paths:
- 'ui/nx-monorepo/packages/ui-kit/**'
branches:
- 'main'
permissions:
contents: read
jobs:
build:
if: github.repository == 'shortlink-org/shortlink'
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
egress-policy: audit
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install -g npm
working-directory: ./ui/nx-monorepo/packages/ui-kit
- run: npm ci
working-directory: ./ui/nx-monorepo/packages/ui-kit
- run: sed -i 's/@shortlink-org\/ui-kit/shortlink-ui-kit/g' package.json
working-directory: ./ui/nx-monorepo/packages/ui-kit
- run: npm publish --provenance --access public --registry https://registry.npmjs.org --scope=@batazor
working-directory: ./ui/nx-monorepo/packages/ui-kit
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}