Skip to content
Closed
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
56 changes: 56 additions & 0 deletions .github/workflows/cordova-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: frontend/cordova CI

on:
push:
branches: [master]
paths:
- frontend/cordova/**
- .github/workflows/cordova-ci.yml
pull_request:
paths:
- frontend/cordova/**
- .github/workflows/cordova-ci.yml

concurrency:
group: cordova-${{ github.ref }}
cancel-in-progress: true

jobs:
ci:
name: install / lint / test / build
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend/cordova

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 11.1.1
run_install: false

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
cache-dependency-path: frontend/cordova/pnpm-lock.yaml

- name: Install dependencies
# preinstall runs `pnpm audit && pnpm audit signatures`.
# That's the main thing CI validates for this project — the
# actual `cordova build ios` step requires Xcode (macOS).
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm run lint

- name: Test
run: pnpm run test

- name: Build
run: pnpm run build
4 changes: 4 additions & 0 deletions frontend/cordova/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
# Generated by package manager
node_modules/

# Block npm/yarn lockfiles — this project is pnpm-only
package-lock.json
yarn.lock

# Generated by Cordova
/plugins/
/platforms/
1 change: 0 additions & 1 deletion frontend/cordova/.npmrc

This file was deleted.

Loading
Loading