Skip to content

Commit

Permalink
Build package in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer committed Jun 22, 2024
1 parent b657dba commit 97d0e40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
cache: "npm"

- name: Install dependencies
run: npm ci
Expand All @@ -30,6 +30,9 @@ jobs:
- name: Lint
run: npm run lint:ci

- name: Build
run: npm run build

- name: Unit test
run: npm run test:ci

Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"dev": "npm run cleanup && tsc --watch",
"start": "npm run dev",
"cleanup": "rimraf ./dist && mkdir dist",
"prelint": "npm run build",
"lint": "biome check && eslint src --ext .js,.jsx,.json,.ts,.tsx",
"lint:fix": "biome check --write && eslint src --ext .js,.jsx,.json,.ts,.tsx --fix",
"lint:ci": "biome ci && eslint src --ext .js,.jsx,.json,.ts,.tsx",
Expand All @@ -33,7 +32,6 @@
"codecov": "codecov",
"check:security": "audit-ci --critical",
"check:licenses": "license-checker --production --summary --failOn=GPLv3",
"prerelease": "npm run build",
"release": "changeset publish"
},
"engines": {
Expand Down

0 comments on commit 97d0e40

Please sign in to comment.