Skip to content

backport(v16): Require non-empty directive locations (#4100) #1991

backport(v16): Require non-empty directive locations (#4100)

backport(v16): Require non-empty directive locations (#4100) #1991

Workflow file for this run

name: PullRequest
on: pull_request
jobs:
ci:
uses: ./.github/workflows/ci.yml
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Check failure on line 7 in .github/workflows/pull_request.yml

View workflow run for this annotation

GitHub Actions / PullRequest

Invalid workflow file

The workflow is not valid. .github/workflows/pull_request.yml (Line: 7, Col: 22): Invalid secret, CODECOV_TOKEN is not defined in the referenced workflow.
diff-npm-package:
name: Diff content of NPM package
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Deepen cloned repo
env:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
run: 'git fetch --depth=1 origin $BASE_SHA:refs/tags/BASE'
- name: Setup Node.js
uses: actions/setup-node@v2
with:
cache: npm
node-version-file: '.node-version'
- name: Install Dependencies
run: npm ci --ignore-scripts
- name: Generate report
run: 'node resources/diff-npm-package.js BASE HEAD'
- name: Upload generated report
uses: actions/upload-artifact@v2
with:
name: npm-dist-diff.html
path: ./npm-dist-diff.html
if-no-files-found: ignore