From b7ffff4f608063354ccfb7b984ae0de8de980f50 Mon Sep 17 00:00:00 2001 From: Baruch Odem Date: Sun, 3 Dec 2023 15:02:52 +0200 Subject: [PATCH] Add Python package installation for node-gyp issue https://github.com/nodejs/node-gyp/issues/2869 --- .github/workflows/ci.yml | 4 ++++ .github/workflows/semantic-release.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59ef8271..348dd207 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + # https://github.com/nodejs/node-gyp/issues/2869 + - run: python3 -m pip install packaging - name: Use Node.js 16.x uses: actions/setup-node@v3 with: @@ -78,6 +80,8 @@ jobs: steps: - uses: actions/checkout@v4 + # https://github.com/nodejs/node-gyp/issues/2869 + - run: python3 -m pip install packaging - name: Install Node.js, NPM and Yarn uses: actions/setup-node@v3 with: diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index d7205958..b7f3e09d 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -23,6 +23,8 @@ jobs: steps: - uses: actions/checkout@v4 + # https://github.com/nodejs/node-gyp/issues/2869 + - run: python3 -m pip install packaging - run: yarn --network-timeout 100000 - uses: cycjimmy/semantic-release-action@8f6ceb9d5aae5578b1dcda6af00008235204e7fa id: semantic @@ -46,6 +48,8 @@ jobs: steps: - uses: actions/checkout@v4 + # https://github.com/nodejs/node-gyp/issues/2869 + - run: python3 -m pip install packaging - name: Install Node.js, NPM and Yarn uses: actions/setup-node@v3 with: