TSC #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: forkit CI | |
on: [push] | |
defaults: | |
run: | |
working-directory: ./packages/api | |
jobs: | |
Type-Check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout forkit repo | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- run: npm install typescript | |
- run: npx tsc | |
Test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout forkit repo | |
uses: actions/checkout@v3 | |
- id: setup | |
name: Setup | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- run: bun install | |
- run: bun test | |
Code-Formatter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout forkit repo | |
uses: actions/checkout@v3 | |
- id: setup | |
name: Setup | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- run: bun install | |
- run: bun fmt:check |