From d8eefe95b1e0ef9f2113e42235fc2728b7509590 Mon Sep 17 00:00:00 2001 From: Laurent LAPORTE Date: Mon, 1 Jul 2024 18:12:20 +0200 Subject: [PATCH 1/2] ci: upgrade version of actions/setup-node to v4, because v3 is deprecated --- .github/workflows/compatibility.yml | 2 +- .github/workflows/deploy.yml | 2 +- .github/workflows/main.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml index 25d2506003..c68b650e9b 100644 --- a/.github/workflows/compatibility.yml +++ b/.github/workflows/compatibility.yml @@ -39,7 +39,7 @@ jobs: - name: Checkout github repo uses: actions/checkout@v4 - name: Set up Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Install dependencies diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 86eba91403..e91a2a0b65 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,7 +24,7 @@ jobs: run: choco install wget --no-progress - name: 💚 Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.16.1 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 087221fa3c..fd2a6ddff9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -74,7 +74,7 @@ jobs: - name: Checkout github repo uses: actions/checkout@v4 - name: Set up Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.16.1 - name: Install dependencies From 77da06800ac19f669f89262e4780ceb5084ff57e Mon Sep 17 00:00:00 2001 From: Laurent LAPORTE Date: Mon, 1 Jul 2024 18:13:02 +0200 Subject: [PATCH 2/2] ci: remove the `compatibility.yml` workflow, which is not used anymore --- .github/workflows/compatibility.yml | 50 ----------------------------- 1 file changed, 50 deletions(-) delete mode 100644 .github/workflows/compatibility.yml diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml deleted file mode 100644 index c68b650e9b..0000000000 --- a/.github/workflows/compatibility.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: compatibility -on: - push: - branches: - - "compatibility" - -jobs: - python-test: - runs-on: ${{ matrix.os }} - strategy: - max-parallel: 9 - matrix: - os: [windows-latest, ubuntu-20.04, macOS-latest] - python-version: [3.8] - - steps: - - name: Checkout github repo - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements-dev.txt - - name: Test with pytest - run: | - pytest - - npm-test: - runs-on: ${{ matrix.os }} - strategy: - max-parallel: 9 - matrix: - os: [windows-latest, ubuntu-20.04, macOS-latest] - node-version: [18.16.1] - steps: - - name: Checkout github repo - uses: actions/checkout@v4 - - name: Set up Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - - name: Install dependencies - run: npm install - working-directory: webapp - - name: Build - run: npm run build - working-directory: webapp