Skip to content

Merge pull request #1509 from flanksource/hide-personal-workspace #4249

Merge pull request #1509 from flanksource/hide-personal-workspace

Merge pull request #1509 from flanksource/hide-personal-workspace #4249

Workflow file for this run

on:
push:
tags:
- v*
branches:
- main
pull_request:
branches:
- master
- main
name: Test
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- run: npm i
- run: npm run test:ci
storybook:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install dependencies
run: npm i
- uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
production-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- run: npm i
- run: |
export NODE_OPTIONS=--max_old_space_size=4096
npm run build