diff --git a/.github/workflows/lint.yml b/.github/workflows/ci.yml similarity index 53% rename from .github/workflows/lint.yml rename to .github/workflows/ci.yml index 6f2383e..0ce3e41 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: lint +name: ci on: push: @@ -26,3 +26,23 @@ jobs: - name: Run ESLint run: npm run lint + + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [20.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm install + + - name: Build production bundle + run: npm run build diff --git a/README.md b/README.md index 07f31a4..f91d8a2 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Author](https://img.shields.io/badge/Author-NriotHrreion-red.svg "Author")](https://github.com/NriotHrreion) [![LICENSE](https://img.shields.io/badge/license-MIT-green.svg "LICENSE")](./LICENSE) [![Stars](https://img.shields.io/github/stars/nocpiun/ferrum.svg?label=Stars)](https://github.com/nocpiun/ferrum/stargazers) -[![test](https://img.shields.io/github/actions/workflow/status/nocpiun/ferrum/lint.yml)](https://github.com/nocpiun/ferrum/actions/workflows/lint.yml) +[![test](https://img.shields.io/github/actions/workflow/status/nocpiun/ferrum/ci.yml)](https://github.com/nocpiun/ferrum/actions/workflows/ci.yml) [![Netlify Status](https://api.netlify.com/api/v1/badges/e6af7829-7b1c-47ed-bf14-deb2b2d9648a/deploy-status)](https://app.netlify.com/sites/resonant-kitsune-43a162/deploys) > Explore throughout your server diff --git a/tsconfig.json b/tsconfig.json index 624aac6..59cc25d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,7 +9,7 @@ "noEmit": true, "esModuleInterop": true, "module": "ESNext", - "moduleResolution": "bundler", + "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve",