Compare commits

...

4 Commits

Author SHA1 Message Date
Techno Tim 7a888dbb9a
Merge d84c00af94 into d54568642b 2025-05-16 09:59:12 -05:00
Marc Brooks d54568642b
fix(ui): Fix regression on Shift-Backspace not being handled (#454)
This keystroke is valid and means "delete to the right" on MacOS.
2025-05-16 12:38:56 +02:00
Marc Brooks c9068af568
Update devcontainer.json to match ui package.json (#457)
Missed that we upgraded the ui's package.json, need to _also_ update the devcontainer.json to matching verison 22.15.0
2025-05-16 12:37:54 +02:00
Timothy Stewart d84c00af94 feat(ci): GitHub action for pull requests - Go + NodeJS 2025-02-23 22:59:56 -06:00
3 changed files with 77 additions and 1 deletions

View File

@ -4,7 +4,7 @@
"features": {
"ghcr.io/devcontainers/features/node:1": {
// Should match what is defined in ui/package.json
"version": "21.1.0"
"version": "22.15.0"
}
},
"mounts": [

75
.github/workflows/pull-request.yaml vendored Normal file
View File

@ -0,0 +1,75 @@
name: 'Pull Request'
on:
pull_request:
branches:
- dev
paths-ignore:
- .gitignore
- README.md
- LICENSE
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: v21.1.0
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: Cache NPM dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-cache-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
npm-cache-${{ runner.os }}-
- name: Install Dependencies and Build
run: |
cd ui
npm ci
# npm run lint # need to clean lint before enabling this
npm run build:prod
env:
CI: true
- name: Cache Prisma Binary
uses: actions/cache@v4
with:
path: ~/.npm/_npx
key: prisma-binary-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
restore-keys: prisma-binary-${{ runner.os }}-
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.24.0'
- name: Cache Go modules
id: cache-go-mod
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install dependencies
run: go mod download
- name: Build Go application
env:
GOOS: linux
GOARCH: arm
GOARM: 7
VERSION_DEV: ci-build
run: |
make frontend
make build_dev

View File

@ -243,6 +243,7 @@ export const keyDisplayMap: Record<string, string> = {
Escape: "esc",
Tab: "tab",
Backspace: "backspace",
"(Backspace)": "backspace",
Enter: "enter",
CapsLock: "caps lock",
ShiftLeft: "shift",