Skip to content

build(deps): bump semver from 5.7.1 to 5.7.2 in /learners-api #160

build(deps): bump semver from 5.7.1 to 5.7.2 in /learners-api

build(deps): bump semver from 5.7.1 to 5.7.2 in /learners-api #160

name: Run integration tests
on:
push:
branches: ["main", "production"]
pull_request:
branches: ["main", "production"]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./courses-api/
strategy:
matrix:
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: "16"
cache: "npm"
cache-dependency-path: "./courses-api/package-lock.json"
- run: npm ci --legacy-peer-deps
- run: npm run lint --if-present
- run: npm ci
- run: npm test