Skip to content

Merge pull request #59 from monkey0722/update/ci #124

Merge pull request #59 from monkey0722/update/ci

Merge pull request #59 from monkey0722/update/ci #124

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
on:
push:
branches: [ main ]
pull_request:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [22]
timeout-minutes: 30
steps:
- name: checkout pushed commit
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: cache dependencies
uses: actions/cache@v3
with:
path: |
node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: install dependencies
run: yarn install --frozen-lockfile
- name: typecheck
run: yarn typecheck
- name: lint
run: yarn lint
- name: test
run: yarn test