Skip to content

Commit

Permalink
clean up CI
Browse files Browse the repository at this point in the history
  • Loading branch information
xavdid-stripe committed Jan 16, 2025
1 parent 3239d5d commit 2ef651e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

jobs:
build:
name: Build
name: 'Static Checks'
runs-on: 'ubuntu-24.04'

steps:
Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2ef651e

Please sign in to comment.