Skip to content

Commit

Permalink
Add: Build step in CI and Fix build failing issue (#18)
Browse files Browse the repository at this point in the history
* Add: Build step in CI and Fix build failing issue

* fix: formatting

* fix: formatting
  • Loading branch information
MehulKChaudhari authored Dec 5, 2024
1 parent ad7d989 commit 028492f
Show file tree
Hide file tree
Showing 5 changed files with 2,796 additions and 3,262 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,30 @@ jobs:

- name: Run tests
run: pnpm test

build:
needs: lint_test
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 22
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ dist-ssr
*.sln
*.sw?

.env

# Coverage directory used by tools like istanbul
coverage

Expand Down
Loading

0 comments on commit 028492f

Please sign in to comment.