New add handler
#4576
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: PR Build | |
on: | |
pull_request: | |
concurrency: | |
group: pr-${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: 'npm' | |
- name: Run CDS snippet checker | |
run: | | |
cd .github/cds-snippet-checker | |
npm install | |
npm run check | |
- name: Run Java snippet checker | |
run: | | |
cd .github/java-snippet-checker | |
npm install | |
npm run check | |
- run: npm ci | |
- run: npm test | |
- run: npm run docs:build | |
- run: npm run lint |