Skip to content

Update from https://github.com/undp/design-system/commit/b3ef5d2d23e4… #32

Update from https://github.com/undp/design-system/commit/b3ef5d2d23e4…

Update from https://github.com/undp/design-system/commit/b3ef5d2d23e4… #32

name: Publish Package to npmjs
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}