Skip to content
Closed
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
38 changes: 37 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python check
name: CI check

on:
pull_request:
Expand Down Expand Up @@ -86,3 +86,39 @@ jobs:
git --no-pager diff
exit 1
fi

jobs:
Comment on lines +89 to +90
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The jobs key is repeated. This will most probably not work!

lint-typecheck-build:
name: Lint, Type Check & Build
runs-on: ubuntu-latest
defaults:
run:
working-directory: functions
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
cache-dependency-path: functions/pnpm-lock.yaml

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false

- name: Install dependencies
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add checks for build.

run: pnpm install --frozen-lockfile

- name: Run ESLint
run: pnpm lint

- name: Run TypeScript type check
run: pnpm typecheck

- name: Run build
run: pnpm build