Skip to content

fix: Add missing icon.png to docs folder for GitHub Pages #58

fix: Add missing icon.png to docs folder for GitHub Pages

fix: Add missing icon.png to docs folder for GitHub Pages #58

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install X11 dependencies
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libx11-dev libxext-dev libxtst-dev libpng++-dev
- name: Install dependencies
run: npm ci
- name: Run type checking
run: npm run typecheck
- name: Build web version
run: npm run build:web
- name: Run tests (always succeed for now)
run: echo "No tests yet, skipping."
shell: bash
continue-on-error: true
electron-build-test:
runs-on: ${{ matrix.os }}
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install X11 dependencies
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libx11-dev libxext-dev libxtst-dev libpng++-dev
- name: Install dependencies
run: npm ci
- name: Run type checking
run: npm run typecheck
- name: Build application
run: npm run build
- name: Validate build artifacts
run: npm run validate:build