chore(deps): update dependency mocha to v10.8.2 #10556
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js CI | |
on: [push] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x, 22.x] | |
services: | |
mongo: | |
image: mongo:4.4-bionic | |
ports: | |
- 57010:27017 | |
redis: | |
image: redis:6.2-alpine | |
ports: | |
- 56310:6379 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/[email protected] | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- run: node cli/diag-environment.js | |
- run: sudo apt-get update -y | |
- run: sudo apt-get install -y --no-install-recommends ffmpeg | |
- run: pnpm i --frozen-lockfile | |
- run: pnpm build | |
- run: ls built/meta.json | |
- run: cp test/test.yml .config/ | |
- run: pnpm test |