Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Empty file removed .docker/build/.gitkeep
Empty file.
Empty file removed .docker/config/.gitkeep
Empty file.
Empty file.
Empty file.
Empty file.
Empty file removed .docker/public/uploads/.gitkeep
Empty file.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI
on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'

- name: Install
run: npm ci

- name: Lint
run: npm run lint

- name: Test (with coverage)
run: npm test

# Make Coveralls non-blocking and only run if a token exists
- name: Upload coverage to Coveralls (non-blocking)
if: ${{ secrets.COVERALLS_REPO_TOKEN != '' && always() }}
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info
continue-on-error: true
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,18 @@ coverage
test/files/normalise.jpg.png
test/files/normalise-resized.jpg
package-lock.json
/package.json
#/package.json
*.mongodb
link-plugins.sh
test.sh

.docker/**
!**/.gitkeep

/test/
#/test/
# build outputs
build/
dump*.rdb

.nyc_tmp/
.nyc_cov/
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/commit-msg

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

5 changes: 2 additions & 3 deletions .mocharc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
reporter: dot
timeout: 25000
spec: "test/**/*.test.js"
recursive: true
exit: true
bail: true
4,105 changes: 0 additions & 4,105 deletions .tx/config

This file was deleted.

22 changes: 0 additions & 22 deletions .tx/fix.js

This file was deleted.

Loading