Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/merge-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,31 @@ env:
project-directory: ./

jobs:
tests:
name: Lint and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5

- uses: actions/setup-node@v5
with:
node-version: lts/*

- name: Install dependencies
run: npm ci

- name: run ESLint
run: npm run lint

- name: type-check
run: npm run typecheck

- name: run tests (with coverage)
run: npm run coverage

release:
name: Release and Build
needs: tests
runs-on: ubuntu-latest
outputs:
new-release-published: ${{ steps.next-version.outputs.new-release-published }}
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ jobs:
- name: run ESLint
run: npm run lint

# - name: run test
# run: npm test
- name: type-check
run: npm run typecheck

- name: run tests (with coverage)
run: npm run coverage

test-prerelease-binary:
if: github.base_ref == 'main' && startsWith(github.head_ref, 'preview-')
Expand Down
5 changes: 0 additions & 5 deletions __mocks__/yoctocolors.ts

This file was deleted.

2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export default tseslint.config(
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unsafe-function-type": "off",
"@typescript-eslint/no-non-null-assertion": "off",
// Test doubles legitimately use no-op callbacks.
"@typescript-eslint/no-empty-function": "off",
},
},
{
Expand Down
9 changes: 0 additions & 9 deletions jest.config.js

This file was deleted.

Loading
Loading