chore: bump chai from 4.4.1 to 5.1.0 #246
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Test on node ${{ matrix.node-version }} and ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [16, 18, 20] | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Set up Cloud SDK | |
uses: google-github-actions/setup-gcloud@v2 | |
- name: Use gcloud CLI | |
run: gcloud info | |
- name: Update GCloud Components | |
run: gcloud components update --quiet | |
- name: Install GCloud beta | |
run: gcloud components install beta --quiet | |
- name: Install pubsub-emulator | |
run: gcloud components install pubsub-emulator --quiet | |
- name: Install dependencies | |
run: npm install | |
- name: Install @google-cloud/pubsub peer dependency | |
run: npm install --no-save @google-cloud/pubsub | |
- name: Run test | |
run: npm test |