build(deps-dev): bump @storybook/node-logger from 8.4.0 to 8.4.2 #477
Workflow file for this run
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: 'UI Tests' | |
on: pull_request | |
jobs: | |
# Run interaction and accessibility tests | |
interaction-and-accessibility: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
## install node and dependancies | |
- uses: actions/setup-node@v4 | |
name: Setup Node.js | |
with: | |
node-version: '20.x' | |
- uses: pnpm/action-setup@v4 | |
name: Install pnpm | |
id: pnpm-install | |
with: | |
version: 9.1.2 | |
run_install: false | |
- name: Get pnpm store directory | |
id: pnpm-cache | |
shell: bash | |
run: | | |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | |
- uses: actions/cache@v4 | |
name: Setup pnpm cache | |
with: | |
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | |
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-pnpm-store- | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run linter | |
run: pnpm run test:lint | |
- name: Run formatter | |
run: pnpm run test:prettier | |
### TODO: to fix ci running storybook tests ### | |
# - name: Serve Storybook and run tests | |
# run: pnpm run serve:storybook:test | |
- name: Publish to Chromatic | |
uses: chromaui/action@latest | |
with: | |
projectToken: chpt_a6f31d991d0cce7 | |
onlyChanged: true | |
- name: Install chromium | |
run: pnpm playwright install chromium | |
- name: Playwright component test | |
run: pnpm test-ct | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |