Skip to content

Update chromaui/action action to v11.20.1 (#4490) #1975

Update chromaui/action action to v11.20.1 (#4490)

Update chromaui/action action to v11.20.1 (#4490) #1975

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 }}
YARN_NPM_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/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_SALT_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_SALT_ACCOUNT_ID }}
command: pages deploy ./storybook-static --project-name saltdesignsystem-storybook --branch ${{ github.head_ref || github.ref_name }}