Skip to content

chore(deps): update dependency @types/node to v20.8.0 #1719

chore(deps): update dependency @types/node to v20.8.0

chore(deps): update dependency @types/node to v20.8.0 #1719

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Build and Test
on:
push:
branches:
- '**'
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[ci skip]') || github.event_name == 'workflow_dispatch' }}
strategy:
fail-fast: false
matrix:
node:
- 'current'
- 'lts/*'
- 'lts/-1'
knex:
- '^1.0.0'
- '^2.0.0'
name: Build and test (Node ${{ matrix.node }}, knex ${{ matrix.knex }})
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
with:
egress-policy: audit
- name: Check out the code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Set up Node.js environment
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Install knex
run: npm i -D knex@${{ matrix.knex }}
- name: Install @vscode/sqlite3
run: |
npm r sqlite3
npm i -D @vscode/sqlite3
if: ${{ matrix.knex == '^1.0.0' }}
- name: Run tests
run: npm test
env:
COLLECT_COVERAGE: "0"