Skip to content

Pin the version of Node used in GHA #10410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Mar 4, 2020
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,11 @@ jobs:
# Run the tests on the oldest and most recent versions of Python.
python: [2.7, 3.8]
test-suite: [ts-unit, python-unit, venv, single-workspace, multi-workspace, debugger, functional]
env:
# Something in Node 12.16.0 breaks the TS debug adapter, and ubuntu-latest bundles Node 12.16.1.
# We can remove this when we switch over to the python-based DA.
# See https://github.com/microsoft/ptvsd/issues/2068
NODE_VERSION: 12.15.0
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -222,6 +227,11 @@ jobs:
with:
python-version: ${{matrix.python}}

- name: Use Node ${{env.NODE_VERSION}}
uses: actions/setup-node@v1
with:
node-version: ${{env.NODE_VERSION}}

- name: curl PyPI to get debugpy versions
run: curl --output debugpy.json https://pypi.org/pypi/debugpy/json

Expand Down