Enforce Typecheck #51

Merged
Rubicon merged 5 commits from enforce-typecheck into master 2024-12-04 17:27:20 +00:00
Showing only changes of commit f0456337d5 - Show all commits

View file

@ -0,0 +1,34 @@
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
depoly:
runs-on: fedora-41
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version-file: 'package.json'
- name: Cache Dependencies
id: dependencies-cache
uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Install Dependencies
run: bun install
- name: Validate types
run: bun typecheck
- name: Build Dist
run: VITE_CODE_VERSION=$GITHUB_SHA bun dist