Skip to content

chore(PE-5622): Setup tests and CI #1

chore(PE-5622): Setup tests and CI

chore(PE-5622): Setup tests and CI #1

Workflow file for this run

name: Build and Test
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [18.x, 20.x]
command: ['lint', 'format', 'test', 'build']
steps:
- uses: actions/checkout@v3
- name: Set Up node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: 'yarn'
- name: Install dependencies
run: yarn --immutable --immutable-cache
- run: yarn ${{ matrix.command }}