Skip to content

5362 hide item variants if none configured #777

5362 hide item variants if none configured

5362 hide item variants if none configured #777

Workflow file for this run

name: Client tests
on:
pull_request:
paths:
- "client/**"
workflow_dispatch:
jobs:
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$(cat ./client/.nvmrc)"
id: nvm
- name: Use Node.js (.nvmrc)
uses: actions/setup-node@v1
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
- name: Install dependencies
run: cd ./client && rm -rf node_modules && yarn install --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{secrets.TOKEN_REPO}}
- name: Run tests
run: cd ./client && yarn test