Skip to content

build(deps-dev): bump @babel/cli from 7.23.0 to 7.23.4 #87

build(deps-dev): bump @babel/cli from 7.23.0 to 7.23.4

build(deps-dev): bump @babel/cli from 7.23.0 to 7.23.4 #87

Workflow file for this run

name: Test suite
on:
push:
branches:
- master
- develop
pull_request:
jobs:
lintjs:
name: Javascript standard lint
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm run lint
unittest:
name: unit tests
runs-on: ubuntu-latest
needs: [lintjs]
strategy:
matrix:
node: [16, 18, 20]
steps:
- name: Checkout ${{ matrix.node }}
uses: actions/checkout@v3
- name: Setup node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Cache dependencies ${{ matrix.node }}
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ matrix.node }}
- run: npm ci
- run: npm run test:coverage