mirror of
https://github.com/versia-pub/docs.git
synced 2026-03-14 03:19:16 +01:00
ci: 👷 Add CI tests
This commit is contained in:
parent
4d08b7e8b0
commit
0d18130dcf
4 changed files with 154 additions and 0 deletions
31
.github/workflows/check.yml
vendored
Normal file
31
.github/workflows/check.yml
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
name: Check Types
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ['*']
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: ['main']
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
|
||||
- name: Install NPM packages
|
||||
run: |
|
||||
bun install
|
||||
|
||||
- name: Run typechecks
|
||||
run: |
|
||||
bun run typecheck
|
||||
Loading…
Add table
Add a link
Reference in a new issue