Release 7.5.28 #178
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |