name: Build pull request artifact

on:
  pull_request:


jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v6

    - name: Build
      run: scripts/build

    - name: Upload Artifact
      uses: actions/upload-artifact@v7
      with:
        path: ./hass-oidc-auth.zip
        archive: false
