-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from fp-tx/ja/new-config
Feat: add .d.ts, .d.cts, and .d.mts generation
- Loading branch information
Showing
16 changed files
with
3,136 additions
and
476 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Check, Test, Build | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- $default-branch | ||
pull_request: | ||
branches: | ||
- main | ||
- $default-branch | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: | ||
- 16.x | ||
- 18.x | ||
- 20.x | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
# TODO: Fix commit linting | ||
# - name: Check Commits | ||
# if: github.event_name == 'pull_request' | ||
# run: pnpm i conventional-changelog-conventionalcommits | ||
|
||
# - run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose | ||
|
||
- name: Check Formatting | ||
run: pnpm run prettier:check | ||
|
||
- name: Lint Changes | ||
run: pnpm run lint | ||
|
||
- name: Check Types | ||
run: pnpm run typecheck | ||
|
||
- name: Run Tests | ||
run: pnpm run test:ci | ||
|
||
- name: Run Build | ||
run: pnpm run prerelease |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
transform: { | ||
'^.+\\.(t|j)sx?$': '@swc/jest', | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.