Skip to content

ci(workflows): add Chromatic workflow for Storybook publishing and up… #123

ci(workflows): add Chromatic workflow for Storybook publishing and up…

ci(workflows): add Chromatic workflow for Storybook publishing and up… #123

Workflow file for this run

name: Lint and build affected NX projects
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
lint-build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [22]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint
run: npx nx affected --target=lint --base=origin/${{ github.event.pull_request.base.ref }} --head=origin/${{ github.event.pull_request.head.ref }}