Skip to content

Testing lib submodule (Topic Branch Creation) #147

Testing lib submodule (Topic Branch Creation)

Testing lib submodule (Topic Branch Creation) #147

Workflow file for this run

name: New Relic Azure Functions - Pull Request
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Install Dependencies
run: npm ci
- name: Run Linting
run: npm run lint
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Install Dependencies
run: npm ci
- name: Run Unit test cases
run: npm test
env:
ACCOUNT_ID: ${{ secrets.ACCOUNT_ID }}
API_KEY: ${{ secrets.API_KEY }}
NERD_GRAPH_URL: ${{ secrets.NG_URL }}
LICENSE_KEY: ${{ secrets.LICENSE_KEY}}
LOGS_API: ${{secrets.LOGS_API}}