110 lines
2.1 KiB
YAML
Raw Normal View History

name: Build
2022-12-01 12:42:47 -05:00
on:
2022-12-01 12:48:11 -05:00
workflow_dispatch:
2022-12-01 12:42:47 -05:00
push:
branches: ["main"]
2022-12-01 12:42:47 -05:00
pull_request:
branches: ["main"]
2022-12-01 12:42:47 -05:00
jobs:
2022-12-01 13:28:46 -05:00
build:
2022-12-01 12:42:47 -05:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
cache: yarn
cache-dependency-path: |
yarn.lock
packages/app/yarn.lock
packages/core/yarn.lock
packages/docs/yarn.lock
node-version: 16
- name: Install
run: |
yarn install --frozen-lockfile
- name: Build
run: |
yarn build
2022-12-01 13:25:39 -05:00
lint:
2022-12-01 13:28:46 -05:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
cache: yarn
cache-dependency-path: |
yarn.lock
packages/app/yarn.lock
packages/core/yarn.lock
packages/docs/yarn.lock
node-version: 16
- name: Install
run: |
yarn install --frozen-lockfile
- name: Lint
run: |
yarn lint
2022-12-04 22:15:59 -05:00
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
cache: yarn
cache-dependency-path: |
yarn.lock
packages/app/yarn.lock
packages/core/yarn.lock
packages/docs/yarn.lock
node-version: 16
- name: Install
run: |
yarn install --frozen-lockfile
- name: Test
run: |
yarn test:ci
integration_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
cache: yarn
cache-dependency-path: |
yarn.lock
packages/app/yarn.lock
packages/core/yarn.lock
packages/docs/yarn.lock
node-version: 16
- name: Install
run: |
yarn install --frozen-lockfile
- name: Test
run: |
yarn test:integration:ci