From baee9a0f61850a3f2c0e5aaf31d2ccb32bb8e3ef Mon Sep 17 00:00:00 2001 From: duncdrum Date: Thu, 27 Jul 2023 23:35:56 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8E=20ci(node.js.yml):=20bump=20deps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit see #16 --- .github/dependabot.yml | 11 +++++++++++ .github/workflows/node.js.yml | 32 +++++++++++++++++++++++++------- 2 files changed, 36 insertions(+), 7 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..225b201 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: weekly + - package-ecosystem: npm + directory: "/" + schedule: + interval: weekly diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index bf30e0e..5bf0026 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -3,14 +3,27 @@ name: Test -on: [push, pull_request] +on: + push: + pull_request: + schedule: + # weekly runs mondays at 08:40 + - cron: "40 8 * * 1" + jobs: build: runs-on: ubuntu-latest + continue-on-error: ${{ matrix.experimental }} strategy: - matrix: - exist-version: [latest, release, 5.3.0] + fail-fast: false + matrix: + exist-version: [release, 5.5.1] + experimental: [false] + include: + - exist-version: latest + experimental: true + services: # Label used to access the service container exist: @@ -19,12 +32,17 @@ jobs: image: existdb/existdb:${{ matrix.exist-version }} ports: - 8443:8443 + volumes: + # point autodeploy to a folder without any XARs + - ${{ github.workspace }}/doc:/exist/autodeploy + options: >- + --health-interval 4s steps: - - uses: actions/checkout@v2 - - name: Use Node.js 14 - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - name: Use Node.js 18 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 18 - run: npm ci - name: run tests run: npm test