* fix: build components with dependencies * fix: exclude @standardnotes/components-meta * chore: update yarn.lock * fix: remove compile script from VERSION.sh * fix: skip lint script * fix: components script names * fix: build script for components * fix: run tsc within build script Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
39 lines
810 B
YAML
39 lines
810 B
YAML
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: Lint components
|
|
run: yarn lint
|
|
working-directory: packages/components
|
|
- name: Build components
|
|
run: yarn build
|
|
working-directory: packages/components
|
|
- name: Test components
|
|
run: yarn test
|
|
working-directory: packages/components
|
|
|
|
- name: Lint all
|
|
run: yarn lint
|
|
- name: Build all
|
|
run: yarn build:all
|
|
- name: Test all
|
|
run: yarn test
|