Skip to content

ci: update node version for release pipeline #141

ci: update node version for release pipeline

ci: update node version for release pipeline #141

Workflow file for this run

name: Chromatic
on:
push:
branches:
- master
jobs:
chromatic:
if: github.repository_owner == 'AxaFrance'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # 👈 Required to retrieve git history for Chromatic
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '*'
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm run storybook:build
- name: Publish to Chromatic
uses: chromaui/action@latest
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: 2af88e64d1ab
exitOnceUploaded: true
storybookBuildDir: storybook-static