diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 6874b5f8..b9784674 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -5,26 +5,23 @@ "build": { "dockerfile": "Dockerfile", // Update 'VARIANT' to pick a Node version: 10, 12, 14 - "args": { "VARIANT": "14" } + "args": { + "VARIANT": "16" + } }, - // Set *default* container specific settings.json values on container create. - "settings": { + "settings": { "terminal.integrated.shell.linux": "/bin/bash" }, - // Add the IDs of extensions you want installed when the container is created. "extensions": [ "dbaeumer.vscode-eslint", "octref.vetur" ], - // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], - // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": "cat /gnome-keyring-fix.sh >> ~/.bashrc", - // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "node" -} +} \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d121f9d..9c346215 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,10 +10,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Use Node.js 14.x + # https://github.com/nodejs/node-gyp/issues/2869 + - name: Use Python 3.11 + uses: actions/setup-python@v4 + with: + python-version: '3.11' + - name: Use Node.js 16.x uses: actions/setup-node@v3 with: - node-version: 14.x + node-version: 16.x cache: 'yarn' cache-dependency-path: 'yarn.lock' - run: yarn --network-timeout 100000 @@ -31,7 +36,7 @@ jobs: strategy: matrix: - node-version: [14.x] + node-version: [16.x] os: - windows-latest - ubuntu-latest @@ -39,6 +44,11 @@ jobs: steps: - uses: actions/checkout@v4 + # https://github.com/nodejs/node-gyp/issues/2869 + - name: Use Python 3.11 + uses: actions/setup-python@v4 + with: + python-version: '3.11' - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: @@ -78,10 +88,15 @@ jobs: steps: - uses: actions/checkout@v4 + # https://github.com/nodejs/node-gyp/issues/2869 + - name: Use Python 3.11 + uses: actions/setup-python@v4 + with: + python-version: '3.11' - name: Install Node.js, NPM and Yarn uses: actions/setup-node@v3 with: - node-version: 14.x + node-version: 16.x cache: 'yarn' cache-dependency-path: 'yarn.lock' - run: yarn --network-timeout 100000 diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index 68248048..3fba00da 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -23,6 +23,11 @@ jobs: steps: - uses: actions/checkout@v4 + # https://github.com/nodejs/node-gyp/issues/2869 + - name: Use Python 3.11 + uses: actions/setup-python@v4 + with: + python-version: '3.11' - run: yarn --network-timeout 100000 - uses: cycjimmy/semantic-release-action@8f6ceb9d5aae5578b1dcda6af00008235204e7fa id: semantic @@ -46,10 +51,15 @@ jobs: steps: - uses: actions/checkout@v4 + # https://github.com/nodejs/node-gyp/issues/2869 + - name: Use Python 3.11 + uses: actions/setup-python@v4 + with: + python-version: '3.11' - name: Install Node.js, NPM and Yarn uses: actions/setup-node@v3 with: - node-version: 14.x + node-version: 16.x cache: 'yarn' cache-dependency-path: 'yarn.lock' - name: Install Snapcraft diff --git a/.node-version b/.node-version index 958b5a36..6f7f377b 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -v14 +v16