diff --git a/.github/workflow/pull_request.yml b/.github/workflows/pull_request.yml similarity index 91% rename from .github/workflow/pull_request.yml rename to .github/workflows/pull_request.yml index 09b2a1f..145a333 100644 --- a/.github/workflow/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -23,8 +23,8 @@ jobs: ${{ runner.os }}-node- - name: Install Dependencies - if: steps.cache.outputs.cache-hit != 'true' + # if: steps.cache.outputs.cache-hit != 'true' run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline - run: npm run test - with: + env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/pull_request.js b/pull_request.js index 351f5de..443949c 100644 --- a/pull_request.js +++ b/pull_request.js @@ -6,7 +6,7 @@ function envvar_undefined(variable_name) { throw new Error(`${variable_name} must be defined`); } console.log({ - DEBUG: process.env.DEBUG, + DEBUG: process.env.DEBUG || false, }); const README = 'README.md';