Merge pull request #269 from SVendittelli/renovate/concurrently-9.x #523
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |