diff --git a/.github/workflows/build-admin-on-pr.yml b/.github/workflows/build-admin-on-pr.yml new file mode 100644 index 0000000..3afa65f --- /dev/null +++ b/.github/workflows/build-admin-on-pr.yml @@ -0,0 +1,25 @@ +name: Build Admin + +on: pull_request + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v6 + + - name: Set up Node.js + uses: actions/setup-node@v6 + with: + node-version: '24' + cache: 'npm' + + - name: Install dependencies + run: npm ci + working-directory: ./admin + + - name: Run build + run: npm run build + working-directory: ./admin \ No newline at end of file