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
5 changes: 5 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Carried over from the browserlist array in the previous gulpfile.
# autoprefixer reads this; the `browsers` option it used to take was removed
# in autoprefixer 4.
last 2 versions
> 1%
35 changes: 28 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,30 @@
version: 2

updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "03:00"
timezone: Africa/Johannesburg
open-pull-requests-limit: 99
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
day: monday
time: "03:00"
timezone: Africa/Johannesburg
open-pull-requests-limit: 5
# Grouped updates: one PR for all action bumps rather than one per action.
groups:
github-actions:
patterns:
- "*"

- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: monday
time: "03:00"
timezone: Africa/Johannesburg
open-pull-requests-limit: 5
groups:
npm-development:
dependency-type: development
patterns:
- "*"
70 changes: 70 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: CI

on:
push:
branches: [master, develop]
pull_request:

# Supersedes the old cancel.yml / styfle/cancel-workflow-action pattern:
# GitHub cancels superseded runs natively per ref.
# github.ref is unique per pull request (refs/pull/N/merge). github.head_ref
# is only the branch name, so two fork PRs sharing a branch name would land in
# the same group and cancel each other's checks.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
php:
name: PHP ${{ matrix.php }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['8.2', '8.3', '8.4']
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false

- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none

# vendor/ holds bundled third-party libraries (Custom-Meta-Boxes, uix)
# that predate PHP 8 and are not ours to fix, so they stay out of scope.
- name: Lint PHP syntax
run: |
git ls-files '*.php' ':!:vendor/**' | xargs -r -n1 -P4 php -l

assets:
name: Built assets are current
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false

- uses: actions/setup-node@v7
with:
node-version-file: '.nvmrc'
cache: npm

- run: npm ci

- name: Rebuild CSS and JS
run: npm run build

# The committed assets must match what the sources compile to, so a
# source-only change cannot ship stale output.
- name: Fail if the committed output is stale
run: |
# --exit-code only looks at tracked paths, so a newly generated
# asset would be invisible here. Porcelain status with
# --untracked-files=all catches added output too.
changes="$(git status --porcelain --untracked-files=all -- assets/css assets/js)"
test -z "$changes" || { printf '%s\n' "$changes"; exit 1; }
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
.sass-cache
.idea
*.sublime-project
*.sublime-workspace
24 changes: 0 additions & 24 deletions .mergify.yml

This file was deleted.

1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24.20.0
90 changes: 0 additions & 90 deletions .travis.yml

This file was deleted.

23 changes: 1 addition & 22 deletions assets/css/lsx-login-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 1 addition & 24 deletions assets/css/lsx-login.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/maps/lsx-login.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading