Skip to content

Setup GitHub Actions #3

Setup GitHub Actions

Setup GitHub Actions #3

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
cache: yarn
- run: yarn install
lint:
name: Lint
runs-on: ubuntu-latest
needs: setup
steps:
- run: yarn lint
test:
name: Test
runs-on: ubuntu-latest
needs: setup
steps:
- run: yarn test