Skip to content

Bump actions/checkout from 3 to 4 #39

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #39

Workflow file for this run

name: Main
on:
pull_request:
push:
branches: [main]
jobs:
build:
name: Build
runs-on: ubuntu-latest
needs: lint
strategy:
matrix:
node-version: [14]
steps:
- uses: actions/checkout@v4
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
- name: Build
run: yarn setup && yarn workspace @kalidao/reality build
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14]
steps:
- uses: actions/checkout@v4
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
- name: Lint
run: yarn lint
- name: Check types
run: yarn lint:types
test:
name: Test
runs-on: ubuntu-latest
needs: lint
strategy:
matrix:
node-version: [14]
steps:
- uses: actions/checkout@v4
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
- name: Test
run: yarn test --coverage