Skip to content

Commit

Permalink
[publish build] add types check action
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-diamond committed Aug 14, 2024
1 parent ad3af64 commit d9ee611
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/types-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Check SDK types

on:
pull_request:
branches: [ main, prod ]

jobs:
check_sdk_branch:
name: Main branch
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup node and npm
uses: actions/setup-node@v3
with:
node-version: '18.x'

- name: Run Types check
run: 'npx tsc'
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import graphql from '../../../../../../graphql'
import { apiUrls, validateArgs } from '../../../../../../utils'


export type UploadMetadataInput = {
type UploadMetadataInput = {
image?: string
displayName?: string
description?: string
Expand Down

0 comments on commit d9ee611

Please sign in to comment.