Skip to content

fix(deps): update all minor dependencies #24

fix(deps): update all minor dependencies

fix(deps): update all minor dependencies #24

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: Install gcds-components
run: npm install
working-directory: ./packages/web
- name: Build gcds-components
run: npm run build
working-directory: ./packages/web
- name: Gcds-components link
run: npm link
working-directory: ./packages/web
- name: Install gcds-components-react
run: npm install
working-directory: ./packages/react
- name: Link @cdssnc/gcds-components
run: npm link @cdssnc/gcds-components
working-directory: ./packages/react
- name: Build gcds-components-react
run: npm run build
working-directory: ./packages/react
- name: Install gcds-components-angular
run: npm install
working-directory: ./packages/angular
- name: Link @cdssnc/gcds-components
run: npm link @cdssnc/gcds-components
working-directory: ./packages/angular
- name: Build gcds-components-angular
run: npm run build
working-directory: ./packages/angular
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
working-directory: ./packages/web
- name: Build gcds-components
run: npm run build
working-directory: ./packages/web
- name: Build Storybook
run: npm run build-storybook
working-directory: ./packages/web