diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4286608d..e650f624 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,20 +2,17 @@ name: CI on: pull_request jobs: - # lint: - # runs-on: self-hosted - # steps: - # - name: Checkout - # uses: actions/checkout@v3 - - # - name: Setup - # uses: ./.github/actions/setup + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 - # - name: Lint files - # run: yarn lint + - name: Setup + uses: ./.github/actions/setup - # - name: Typecheck files - # run: yarn typecheck + - name: Typecheck files + run: yarn typecheck # test: # runs-on: ubuntu-latest @@ -47,7 +44,7 @@ jobs: TURBO_CACHE_DIR: .turbo/android steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup uses: ./.github/actions/setup diff --git a/lefthook.yml b/lefthook.yml index 24d000ee..37b19719 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -4,4 +4,4 @@ pre-commit: cpp-linter: run: clang-format -i cpp/*.cpp cpp/*.h && git add . tsc: - run: npm run typescript + run: npm run typecheck diff --git a/package.json b/package.json index 0dc4d982..0a63c08c 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "!**/__mocks__" ], "scripts": { - "typescript": "tsc --noEmit", + "typecheck": "tsc --noEmit", "prepare": "bob build", "example": "yarn --cwd example", "pods": "cd example && yarn pods",