diff --git a/.github/workflows/test-typescript-npm.yml b/.github/workflows/test-typescript-npm.yml index e7eb503..5679d03 100644 --- a/.github/workflows/test-typescript-npm.yml +++ b/.github/workflows/test-typescript-npm.yml @@ -3,6 +3,10 @@ name: Test TypeScript env: # See: https://github.com/actions/setup-node/#readme NODE_VERSION: 10.x + # See: https://github.com/actions/setup-python/tree/main#available-versions-of-python + # Using newest version documented as supported by node-gyp dependency: + # https://github.com/nodejs/node-gyp/tree/v7.1.2#installation + PYTHON_VERSION: 3.8 on: push: @@ -60,6 +64,11 @@ jobs: with: node-version: ${{ env.NODE_VERSION }} + - name: Install Python + uses: actions/setup-python@v4 + with: + python-version: ${{ env.PYTHON_VERSION }} + - name: Install dependencies run: npm install