Skip to content

Commit

Permalink
ci: consolidate lint job
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed May 2, 2024
1 parent 2e2466e commit 3cad269
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 35 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/test-all-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,31 +66,22 @@ 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

# UNTIL repo settings are updated to not require it
lint-rest:
timeout-minutes: 15
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/restore-node
with:
node-version: '18.x'

- name: yarn lint rest
run: ./scripts/lint-with-types.sh rest
- run: true

##################
# Fast-running tests run as a group:
Expand Down
22 changes: 0 additions & 22 deletions scripts/lint-with-types.sh

This file was deleted.

0 comments on commit 3cad269

Please sign in to comment.