v2.0.46+ext #1043
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: website - test | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
paths: | |
- 'apps/website/**' | |
pull_request: | |
branches: | |
- main | |
- develop | |
paths: | |
- 'apps/website/**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Copy Files | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.5.0 | |
- name: Print Node version | |
run: node -v | |
- name: Print yarn version | |
run: yarn -v | |
- name: Design system install dependencies | |
run: |- | |
cd packages/design | |
yarn | |
- name: Design system build | |
run: |- | |
cd packages/design | |
yarn build | |
- name: Install dependencies | |
run: |- | |
cd apps/website | |
yarn | |
- name: Run build | |
run: |- | |
cd apps/website | |
yarn build |