chore: components workflow
This commit is contained in:
20
.github/workflows/pr.components.yml
vendored
20
.github/workflows/pr.components.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/version-bump.yml
vendored
2
.github/workflows/version-bump.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user