Skip to content

Exclude LiveActivityWidgetBundle.swift from Swift Package #122

Exclude LiveActivityWidgetBundle.swift from Swift Package

Exclude LiveActivityWidgetBundle.swift from Swift Package #122

Workflow file for this run

name: Static checks
on:
pull_request:
jobs:
types_and_lint:
runs-on: macos-latest
steps:
- name: Check out
uses: actions/checkout@v5
- name: Set up Node.js
uses: actions/setup-node@v5
with:
node-version: 22
- name: Install dependencies
run: |
npm ci
cd example
npm ci
- name: Run Prettier 💅
run: npm run format:check
- name: Run SwiftFormat 🦅
run: swiftformat --exclude "**/node_modules/" --lint --reporter github-actions-log .
- name: Run ESLint 👮
run: npm run lint
- name: Check types 🚓
run: npm run typecheck
- name: Check types (example app) 🚓
run: npm run typecheck
working-directory: example