Skip to content

Commit

Permalink
ci: lint all packages in one job
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Nov 14, 2024
1 parent 493b453 commit 28cd6e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 30 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/test-all-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,22 +91,19 @@ jobs:
with:
node-version: '18.x'

# first job also does repo-level linting
- name: lint repo format
run: yarn lint:format
# eslint
- name: yarn lint primary
run: ./scripts/lint-with-types.sh primary
# eslint and tsc
- run: yarn lint:packages
# build the API docs to verify it works
- name: build API docs
run: yarn docs
# build the API docs in markdown for agoric/documentation repo to verify it works
- name: build API docs in markdown
run: yarn docs:markdown-for-agoric-documentation-repo

# A second job for what's not covered in primary
lint-rest:
timeout-minutes: 15
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -117,8 +114,6 @@ jobs:
# Check some of a3p-integration in this job that runs on PRs instead of
# waiting for the slow integration test that by default only runs in the
# master merge check
- name: yarn lint rest of packages/*
run: ./scripts/lint-with-types.sh rest
- name: Lint a3p-integration
run: yarn install && yarn lint && yarn doctor
working-directory: a3p-integration
Expand Down
22 changes: 0 additions & 22 deletions scripts/lint-with-types.sh

This file was deleted.

0 comments on commit 28cd6e5

Please sign in to comment.