Skip to content

Variants made responsive #1933

Variants made responsive

Variants made responsive #1933

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Unit and Integration Tests
on:
push:
defaults:
run:
working-directory: src
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: |
yarn
yarn add jest
- name: run unit tests
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: |
src/yarn.lock
src/package-lock.json
- run: |
npm test
- name: Codecov
uses: codecov/codecov-action@v3.1.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
working-directory: src/coverage/apps/services
# - name: Coveralls GitHub Action
# uses: coverallsapp/github-action@v1