Bump eslint from 8.57.0 to 9.15.0 in /samples/cds-sample-application #1919
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
pull_request: ~ | |
push: | |
branches: [main] | |
paths: | |
- 'samples/cds-sample-application/**' | |
permissions: | |
pull-requests: write | |
contents: write | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: REUSE Compliance Check | |
uses: fsfe/reuse-action@v5 | |
tests: | |
needs: [checks] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 15 | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: git fetch --depth=1 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: CDS Samples - Install Dependencies and Build Package | |
run: | | |
cd samples/cds-sample-application | |
npm install | |
npm run ci-build | |
- name: CDS Samples - Tests | |
run: | | |
cd samples/cds-sample-application | |
npm run test:e2e | |
- name: Resilience Examples - Install Dependencies | |
run: | | |
cd samples/resilience-examples | |
npm install | |
- name: Resilience Examples - Tests | |
run: | | |
cd samples/resilience-examples | |
npm run test | |
- name: HTTP Client Examples - Install Dependencies | |
run: | | |
cd samples/http-client-examples | |
npm ci | |
- name: HTTP Client Examples - Tests | |
run: | | |
cd samples/http-client-examples | |
npm run test | |
dependabot: | |
needs: tests | |
runs-on: ubuntu-latest | |
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }} | |
steps: | |
- name: Dependabot metadata | |
id: metadata | |
uses: dependabot/fetch-metadata@v2.2.0 | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Approve a PR | |
run: gh pr review --approve "$PR_URL" | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
- name: Enable auto-merge for Dependabot PRs | |
run: gh pr merge --auto --squash "$PR_URL" | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |