Skip to content

Upgrade Go version to 1.21.6 #179

Upgrade Go version to 1.21.6

Upgrade Go version to 1.21.6 #179

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