Skip to content

Tests (with latest deps) #1354

Tests (with latest deps)

Tests (with latest deps) #1354

Workflow file for this run

name: Tests (with latest deps)
on:
workflow_dispatch:
push:
branches:
- master
schedule:
- cron: '0 23 * * *'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
node-version: [16.x, 18.x, 19.x]
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Test installation without package-lock.json
shell: bash
run: |
echo "| Continuous tests against latest releases of dependencies"
echo "| within minor versions ranges. Tests mimic a fresh install"
echo "| without a package-lock.json. Tests aim to identify problems"
echo "| caused by deps violating semantic versioning."
mv package-lock.json package-lock-ignored.json
npm install
cd ./test
npm install
cd ..
npm test
env:
CI: true