Skip to content

v2.1.0

v2.1.0 #15

name: Test Integration
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
workflow_call:
secrets:
access-token:
required: false
env:
NODE_VERSION: 18.0
jobs:
run_tests:
name: Run Tests
runs-on: ubuntu-latest
timeout-minutes: 5
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