Skip to content

Commit

Permalink
update github action to use v4 runner and generate metadata before pe…
Browse files Browse the repository at this point in the history
…rforming type check
  • Loading branch information
JosiasAurel committed May 24, 2024
1 parent 2f16d5d commit 7637194
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/typescript_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: TypeScript Check

on:
pull_request:
types: [opened, reopened, edited]

jobs:
# Test job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Install Dependencies
run: |
yarn install
- name: Build Project
run: |
node .github/scripts/generate-metadata.js
yarn tsc --noEmit

0 comments on commit 7637194

Please sign in to comment.