From 2ef651e1cda2f90226d26ed5084c06a504d06f85 Mon Sep 17 00:00:00 2001 From: David Brownman Date: Thu, 16 Jan 2025 14:15:58 -0800 Subject: [PATCH] clean up CI --- .github/workflows/main.yml | 5 +---- justfile | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9c3447a518..561cd6d4bb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ on: jobs: build: - name: Build + name: 'Static Checks' runs-on: 'ubuntu-24.04' steps: @@ -41,9 +41,6 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - - name: Compile JS -> TS - run: just install build - - name: Verify Linting run: just lint-check diff --git a/justfile b/justfile index eb68e8fbe9..35d3293c2b 100644 --- a/justfile +++ b/justfile @@ -27,7 +27,7 @@ integrations-test: build # run the full test suite; you probably want `test` ci-test: install test types-test integrations-test -_build mode packageType: +_build mode packageType: install mkdir -p {{ mode }} tsc -p tsconfig.{{ mode }}.json echo '{"type":"{{ packageType }}"}' > {{ mode }}/package.json @@ -45,7 +45,7 @@ build: build-esm build-cjs lint: (lint-check "--fix") # run style checks without changing anything -lint-check *args: +lint-check *args: install eslint --ext .js,.ts . {{ args }} # reinstall dependencies, if needed