Skip to content

Merge pull request #2852 from gdg-x/dependabot/npm_and_yarn/protobufj… #2541

Merge pull request #2852 from gdg-x/dependabot/npm_and_yarn/protobufj…

Merge pull request #2852 from gdg-x/dependabot/npm_and_yarn/protobufj… #2541

Workflow file for this run

name: Main
on: push
jobs:
test:
runs-on: ubuntu-latest
name: ${{ matrix.script-name }}
strategy:
fail-fast: false
matrix:
script-name: [lint, test, build]
steps:
- name: Checkout the repo
uses: actions/checkout@v3
- name: Cache node modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Create temp serviceAccount.json
run: echo "{}" > serviceAccount.json
- name: Running ${{ matrix.script-name }}
run: npm run ${{ matrix.script-name }}