Skip to content

Merge pull request #270 from SVendittelli/dependabot/bundler/docs/goo… #525

Merge pull request #270 from SVendittelli/dependabot/bundler/docs/goo…

Merge pull request #270 from SVendittelli/dependabot/bundler/docs/goo… #525

Workflow file for this run

name: "Chromatic Publish"
on: push
# Add required environment variables to satisfy build, they are blank as the relevant dependencies are mocked
env:
DATABASE_URL: ""
SUPERTOKENS_API_KEY: ""
SUPERTOKENS_CONNECTION_URI: ""
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: "package.json"
cache: "npm"
- run: corepack enable
- run: npm ci
- name: Publish to Chromatic
uses: chromaui/action@6eca23b4399151ac2cfc17fa95190d807c7e9519 # v11
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitOnceUploaded: true