Skip to content

Commit

Permalink
fix: Add CI test build step and update build libs (#36)
Browse files Browse the repository at this point in the history
* Change cjs lib from ES6 to ESNEXT

* Add CI step for dry-run of build
  • Loading branch information
NathanFarmer committed Mar 13, 2024
1 parent badccf0 commit a3e6ab6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile


- name: Dry-run of build
shell: bash
run: pnpm pack


- name: Run lint
run: pnpm lint

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "./tsconfig.production.json",
"compilerOptions": {
"lib": [
"ES6",
"ESNEXT",
"DOM"
],
"target": "ES6",
Expand Down

0 comments on commit a3e6ab6

Please sign in to comment.