diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index d5d88a9..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,53 +0,0 @@ -name: Build on Pull Request - -on: pull_request - -jobs: - build-library: - name: Build Library - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: 20 - - - name: Install Dependencies - run: npm ci - - - name: Build Library - run: npm run lib:build - build-demo-app: - name: Build Demo App - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: 20 - - - name: Install Dependencies - run: npm ci - - - name: Build Demo app - run: npm run build - verify-changelog: - name: Verify Changelog - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Changelog Reader - uses: mindsers/changelog-reader-action@v2.2.0 - with: - # Path to the CHANGELOG file containing the log entries - path: ./projects/ng-infinite-scroll/CHANGELOG.md - # Specifies if the CHANGELOG.md file should be validated and the behavior of the action - validation_level: error diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index f5d3da7..405b213 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -25,6 +25,23 @@ jobs: - name: Build Library run: npm run lib:build + build-demo-app: + name: Build Demo App + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: 20 + + - name: Install Dependencies + run: npm ci + + - name: Build Demo app + run: npm run build verify-changelog: name: Verify Changelog runs-on: ubuntu-latest