cal-itp / reports

GTFS data quality reports for California transit providers
https://reports.calitp.org
GNU Affero General Public License v3.0
7 stars 0 forks source link

Bug: Build and deploy to Netlify action failing #295

Closed edasmalchi closed 9 months ago

edasmalchi commented 9 months ago

Describe the bug

Action failing on "Deploy development to Netlify" step.

+ netlify-cli@17.8.0
added 1396 packages from 878 contributors and audited 1449 packages in 28.769s

220 packages are looking for funding
  run `npm fund` for details

found 4 moderate severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details
file:///usr/local/lib/node_modules/netlify-cli/node_modules/listr2/dist/index.js:[216](https://github.com/cal-itp/reports/actions/runs/7022964778/job/19108943875#step:12:217)
    this.options.fields ??= ***;
                        ^^^

SyntaxError: Unexpected token '??='
    at Loader.moduleStrategy (internal/modules/esm/translators.js:149:18)
Error: Process completed with exit code 1.

To Reproduce Steps to reproduce the behavior:

  1. Run Action via any trigger.

Expected behavior Action completes successfully.

Additional context

Action is pinned to an older version of GitHub's setup_node, updating may fix. See for example:

https://github.com/actions/setup-node/releases/tag/v4.0.0 https://github.com/actions/setup-node/pull/866 https://github.com/actions/setup-node/issues/850

Eric and Christian to pair on Wed Nov 29.

edasmalchi commented 9 months ago

fixed in #296 !