diff --git a/.github/workflows/build-check.yml b/.github/workflows/build-check.yml new file mode 100644 index 00000000..3f217ee4 --- /dev/null +++ b/.github/workflows/build-check.yml @@ -0,0 +1,19 @@ +name: Build Check + +on: + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: npm + - run: npm ci + - run: npm run build + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}