Removes unnecessary branch protection disable/enable steps #173
Workflow file for this run
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: 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}} | |