diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..a1f7fbed --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: Build Pipeline + +on: + pull_request: + branches: + - main + +jobs: + Build: + name: Build the project + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Install Dependecies + run: npm install + + - name: Run Build + run: npm run build \ No newline at end of file diff --git a/apps/frontend/tsconfig.json b/apps/frontend/tsconfig.json index d57e7cf9..2754ca78 100644 --- a/apps/frontend/tsconfig.json +++ b/apps/frontend/tsconfig.json @@ -15,7 +15,8 @@ "jsx": "react-jsx", "baseUrl": ".", "paths": { - "@/*": ["./src/*"] + "@/*": ["./*","src/*", "./public/*"] + "@/*": ["./src/*"] }, /* Linting */