mirror of
https://github.com/Shopify/draggable.git
synced 2026-01-18 15:54:06 +00:00
47 lines
841 B
YAML
47 lines
841 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout branch
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 2
|
|
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: '18.17.1'
|
|
|
|
- name: Install dependencies
|
|
run: yarn --frozen-lockfile
|
|
|
|
- name: Lint
|
|
run: yarn lint
|
|
|
|
- name: Library typecheck
|
|
run: yarn type-check
|
|
|
|
- name: Build
|
|
run: yarn build
|
|
|
|
- name: Build Development
|
|
run: yarn build:development
|
|
|
|
- name: Test
|
|
run: yarn test
|
|
|
|
- name: Install dependencies
|
|
working-directory: examples/
|
|
run: yarn --frozen-lockfile
|
|
|
|
- name: Build examples
|
|
working-directory: examples/
|
|
run: yarn build
|