chore: components workflow

This commit is contained in:
Mo
2022-06-15 10:11:05 -05:00
parent f076057f4b
commit f33e5db84e
34 changed files with 74 additions and 74 deletions

View File

@@ -11,18 +11,28 @@ on:
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/components
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: Lint components
run: yarn components:lint
- name: Compile components
run: yarn compile:components
- name: Build
run: yarn components:compile
- name: Test components
run: yarn components:test
- name: Lint all
run: yarn lint
- name: Build all
run: yarn build:all
- name: Test
- name: Test all
run: yarn test

View File

@@ -33,7 +33,7 @@ jobs:
run: yarn install
- name: Compile Components
run: yarn compile:components
run: yarn components:clean && yarn components:compile
- name: Commit Components
run: |
node packages/components/scripts/package-components.mjs