chore: optimize workflows to avoid building components each time

This commit is contained in:
Mo
2022-06-14 16:00:31 -05:00
parent 703994c16b
commit 01793365bd
400 changed files with 17000 additions and 1544 deletions

28
.github/workflows/pr.components.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Components PR
on:
pull_request:
branches:
- develop
- main
paths:
- packages/components
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
- name: Install dependencies
run: yarn install
- name: ESLint
run: yarn lint
- name: Compile components
run: yarn compile:components
- name: Build
run: yarn build:all
- name: Test
run: yarn test