Skip to content

v2.6

v2.6 #2

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
env:
NODE_VERSION: 18.0
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != true
run: yarn install --frozen-lockfile
- name: Create mock ENV
run: cp __mocks__/env.json env.json
# Run tests
- run: yarn tsc
- run: yarn lint
- run: yarn test