Skip to content

chore(deps): update typescript-eslint monorepo to v6 - autoclosed #119

chore(deps): update typescript-eslint monorepo to v6 - autoclosed

chore(deps): update typescript-eslint monorepo to v6 - autoclosed #119

Workflow file for this run

# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Frontend tests
on:
push:
branches:
- main
paths:
- 'src/frontend/**'
- '.github/workflows/frontend.yml'
pull_request:
branches:
- main
paths:
- 'src/frontend/**'
- '.github/workflows/frontend.yml'
jobs:
frontend-unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Cache dependencies
uses: actions/cache@v3
with:
path: src/frontend/node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('src/frontend/package-lock.json') }}
- name: Install dependencies
run: npm ci
working-directory: src/frontend
- name: Execute Unit tests with coverage
run: npm run coverage
working-directory: src/frontend