chore(deps): bump algoliasearch from 5.8.0 to 5.8.1 #128
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: Unit Tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
ut-tests: | |
name: Run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js version from .nvmrc | |
id: nvmrc | |
run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_ENV | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Get Yarn version from package.json | |
id: yarn_version | |
run: | | |
YARN_VERSION=$(jq -r '.packageManager' package.json | grep -o 'yarn@[0-9]*\.[0-9]*\.[0-9]*') | |
echo "YARN_VERSION=${YARN_VERSION}" >> $GITHUB_ENV | |
- name: Install correct Yarn version | |
run: corepack prepare ${{ env.YARN_VERSION }} --activate | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Execute Unit tests | |
run: yarn test:ut |