Merge pull request #1098 from chromaui/cody/cap-2324-create-a-new-act… #1463
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: Smoke test via node api | |
on: push | |
permissions: | |
contents: read | |
jobs: | |
self-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 'lts/*' | |
- run: corepack enable | |
- run: yarn | |
- run: yarn build | |
- name: run chromatic via node | |
run: ./scripts/run-via-node.mjs | |
env: | |
LOG_LEVEL: debug | |
DEBUG: chromatic-cli | |
CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }} |