Skip to content

v4.0.0

v4.0.0 #30

Workflow file for this run

name: Publish npm package
on:
release:
types: [published]
permissions:
id-token: write # Required for OIDC
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: "22.x"
registry-url: "https://registry.npmjs.org"
- name: Upgrade npm for OIDC trusted publishing
run: npm install -g npm@^11.5.1
- name: Install Dependencies
run: yarn install
- name: Build project
run: yarn build
- name: Publish package
run:
npm publish --workspace @stellar/design-system --access public
--provenance