Skip to content

ci: workflow fixes #135

ci: workflow fixes

ci: workflow fixes #135

name: Build components
on:
pull_request:
branches:
- main
jobs:
build-packages:
name: Build all packages
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@d86ebcd40b3cb50b156bfa44dd277faf38282d12
with:
node-version: 18
- name: Install repo
run: npm install
- name: Build gcds-components
run: npm run build
build-storybook:
name: Build storybook
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@d86ebcd40b3cb50b156bfa44dd277faf38282d12
with:
node-version: 18
- name: Install gcds-components
run: npm install
- name: Build gcds-components
run: npm run build
- name: Build Storybook
run: npm run build-storybook