[Snyk] Security upgrade @google-cloud/logging from 10.1.1 to 11.0.0 #233
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, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [12.x, 14.x, 16.x] | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Restore cached dependencies | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: node-modules-${{ hashFiles('package.json') }} | |
- name: Install dependencies | |
run: npm install | |
- name: Run Tests | |
run: npm test | |
- name: Coveralls Parallel | |
uses: coverallsapp/[email protected] | |
with: | |
flag-name: run-${{ matrix.os }}-${{ matrix.node-version }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
parallel: true | |
finish: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Coveralls | |
uses: coverallsapp/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
parallel-finished: true |