Skip to content

chore: bumping dependencies #150

chore: bumping dependencies

chore: bumping dependencies #150

Workflow file for this run

on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
name: Main workflow
jobs:
install:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Caching node_modules
uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Setting yarn version
run: yarn policies set-version 1.22.19
- name: Install dependencies
run: yarn install --prefer-offline
- name: Linter
run: yarn lint
- name: Prisma
run: yarn prisma-merge && yarn prisma generate
- name: type-check
run: yarn type-check
- name: Tests
run: yarn test-ci
- name: Generating coverage badges
uses: jpb06/[email protected]
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}