Skip to content

Add timestamp of when the log was generated #177

Add timestamp of when the log was generated

Add timestamp of when the log was generated #177

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 20.x
uses: actions/setup-node@v1
with:
node-version: 20.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 20.x
uses: actions/setup-node@v1
with:
node-version: 20.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}}