Skip to content

[Snyk] Security upgrade @google-cloud/translate from 7.2.2 to 8.0.0 #25

[Snyk] Security upgrade @google-cloud/translate from 7.2.2 to 8.0.0

[Snyk] Security upgrade @google-cloud/translate from 7.2.2 to 8.0.0 #25

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
node_version:
- 14
- 16
- 18
name: Node ${{ matrix.node_version }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Decrypt large secret
run: .github/scripts/decrypt_secret.sh
env:
LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}
- name: Set environment variable
run: |
echo "GOOGLE_APPLICATION_CREDENTIALS=$HOME/secrets/my_secret.json" >> $GITHUB_ENV
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test