Skip to content

chore: add github actions setup #1

chore: add github actions setup

chore: add github actions setup #1

Workflow file for this run

name: ci
on:
pull_request:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: hmarr/debug-action@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'
- name: Install packages
run: yarn --immutable
- name: Build library
run: yarn build
unit:
runs-on: ubuntu-latest
steps:
- uses: hmarr/debug-action@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'
- name: Install packages
run: yarn --immutable
- name: Jest
run: yarn test