Skip to content

Update build and test workflow #2

Update build and test workflow

Update build and test workflow #2

Workflow file for this run

name: Build and Test
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "20"
cache: "yarn"
- name: Install Yarn
run: npm install -g yarn
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Run Tests
run: |
yarn test
yarn e2e