Skip to content

Update Listbox, Menu, ComboBox and Dropdown to use --salt-palette-cor… #1750

Update Listbox, Menu, ComboBox and Dropdown to use --salt-palette-cor…

Update Listbox, Menu, ComboBox and Dropdown to use --salt-palette-cor… #1750

Workflow file for this run

name: Release
on:
push:
branches:
- main
- release-ag-grid-theme-v1
permissions:
contents: write
deployments: write
pull-requests: write
id-token: write
jobs:
release:
name: Release
if: github.repository == 'jpmorganchase/salt-ds'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "yarn"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Create Release Pull Request or Publish packages
id: changesets
uses: changesets/action@v1
with:
publish: yarn changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
- name: Run Storybook build
run: yarn build-storybook
env:
NODE_OPTIONS: "--max_old_space_size=6144"
- name: Publish Storybook
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_SALT_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_SALT_ACCOUNT_ID }}
projectName: "saltdesignsystem-storybook"
directory: ./storybook-static
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.head_ref || github.ref_name }}