mirror of
https://github.com/Shopify/draggable.git
synced 2025-12-08 20:15:56 +00:00
36 lines
597 B
YAML
36 lines
597 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: Scripts typecheck
|
|
run: yarn type-check:scripts
|
|
|
|
- name: Test
|
|
run: yarn test
|