Skip to content

Feat/angular 18 upgrade #332

Feat/angular 18 upgrade

Feat/angular 18 upgrade #332

Workflow file for this run

# .github/workflows/chromatic.yml
# Workflow name
name: 'Chromatic'
# Event for the workflow
on:
pull_request:
branches: [main]
paths:
- 'libs/components/**'
- 'libs/icons/**'
- 'libs/tokens/**'
# List of jobs
jobs:
chromatic-deployment:
# Operating System
runs-on: ubuntu-latest
env:
NODE_OPTIONS: --max-old-space-size=4096
# Job steps
steps:
# 👇 Version 2 of the action
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0 # 👈 Required to retrieve git history
- name: Use Node.js 18
uses: actions/setup-node@v2
with:
node-version: 18
cache: npm
- run: npm ci
# 👇 Adds Chromatic as a step in the workflow
- run: npx chromatic --project-token=${{ secrets.CHROMATIC_PROJECT_TOKEN }} --exit-once-uploaded --auto-accept-changes