build(deps-dev): bump chai-as-promised and @types/chai-as-promised #4531
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: Continuous Integration | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x, 22.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install and build | |
run: | | |
npm ci | |
npm run build | |
npm run build:tests | |
- name: Lint and run unit tests | |
run: npm test | |
- name: Run api-extractor | |
run: npm run api-extractor | |
- name: Run emulator-based integration tests | |
run: | | |
npm install -g [email protected] | |
firebase emulators:exec --project fake-project-id --only auth,database,firestore \ | |
'npx mocha \"test/integration/{auth,database,firestore}.spec.ts\" --slow 5000 --timeout 20000 --require ts-node/register' |