Skip to content

Initialize CI

Initialize CI #10

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set NODE_ENV
run: echo "NODE_ENV=development" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install Yarn
run: corepack enable
- name: Clear yarn cache
run: yarn cache clean
- name: Install dependencies
run: yarn install
- name: Run unit tests
run: yarn test