Skip to content

add ci

add ci #2

Workflow file for this run

name: "CI Check"
on:
pull_request:
branches: ["main"]
# Cancel prev CI if new commit come
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: [self-hosted, linux]
strategy:
matrix:
node: [16]
name: Run Test on Node ${{ matrix.node }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Setup yarn
run: npm install -g yarn
- name: Install deps
run: yarn install --frozen-lockfile
timeout-minutes: 15
- name: Go to refine
run: cd packages/refine
- name: Test
run: yarn jest
- name: Build
run: yarn build