Skip to content
Merged
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
15 changes: 15 additions & 0 deletions .github/actions/setup-project/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: 'Setup project'
description: 'Install Node.js, dependencies'

runs:
using: 'composite'
steps:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'yarn'

- name: Install dependencies
run: yarn install
shell: bash
19 changes: 19 additions & 0 deletions .github/workflows/run-compile-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check if code can be compiled

on:
workflow_call:
workflow_dispatch:

jobs:
run-compile-check:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up project
uses: ./.github/actions/setup-project

- name: Run compile check
run: yarn tsc --noEmit
Loading