Skip to content

Commit

Permalink
🐎 ci(node.js.yml): bump deps
Browse files Browse the repository at this point in the history
see #16
  • Loading branch information
duncdrum committed Jul 27, 2023
1 parent cd5ee70 commit baee9a0
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 7 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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
32 changes: 25 additions & 7 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit baee9a0

Please sign in to comment.