Skip to content

Publish the shared library to npmjs #16

Publish the shared library to npmjs

Publish the shared library to npmjs #16

Workflow file for this run

name: Publish the shared library to npmjs
on:
workflow_dispatch:
permissions:
id-token: write # Required for OIDC
contents: read
jobs:
publish:
defaults:
run:
working-directory: packages/shared
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
- run: yarn install --immutable
- run: yarn build --if-present
- run: yarn test
- run: yarn npm publish