Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,23 @@ updates:
schedule:
interval: "weekly"
commit-message:
prefix: "chore(gha):"
prefix: "chore(gha):"
groups:
github-actions:
patterns:
- "*"
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "chore(deps):"
groups:
commitlint-dependencies:
patterns:
- "@commitlint/*"
semantic-release-dependencies:
patterns:
- "@semantic-release/*"
- "semantic-release"
- "conventional-changelog-*"
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow builds a xar archive, deploys it into exist and execute a simple smoke test.
# It also includes code for using semantic-release to upload packages as part of GitHub releases
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
# For node free automated release see https://trstringer.com/github-actions-create-release-upload-artifacts/
# For node free automated release see https://trstringer.com/github-actions-create-release-upload-artifacts/

name: exist-db CI

Expand All @@ -24,7 +24,7 @@ jobs:

steps:
# Checkout code
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Install Test Dependencies
run: |
sudo apt-get update
Expand All @@ -36,7 +36,7 @@ jobs:
xmllint --noout \
$(find . -type f -name '*.xml')

# Build
# Build
- name: Build Expath Package
uses: actions/setup-java@v5
with:
Expand All @@ -50,9 +50,9 @@ jobs:
docker run -dit -p 8080:8080 -v ${{ github.workspace }}/build:/exist/autodeploy \
--name exist --rm --health-interval=2s --health-start-period=4s \
duncdrum/existdb:${{ matrix.exist-version }}
sleep 10s
sleep 14s

# Test
# Test
- name: Run test
run: bats --tap test/*.bats

Expand All @@ -67,11 +67,11 @@ jobs:
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
cache: npm
node-version: lts/*
Expand All @@ -81,6 +81,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
run: npx semantic-release
# TODO(DP):
# TODO(DP):
# - add secrets to github
# - publish to public repo?
Loading