Skip to content

Release 7.5.24

Release 7.5.24 #158

name: Frontend unit tests
on:
push:
branches:
- "main"
tags:
- "v*"
pull_request:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
unit-test-frontend:
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 14.15.5
cache: yarn
registry-url: 'https://npm.pkg.github.com'
scope: '@credativ'
- name: Install dependencies
run: yarn install --pure-lockfile --no-progress --network-concurrency 1
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Type check
run: yarn typecheck
- name: Linter
run: yarn lint
- name: Test
run: yarn test:ci