EPMRPP-85309 || Add CI/CD pipelines for develop branch #3
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: CI-pipeline | |
on: | |
push: | |
branches: | |
- develop | |
- '!main' | |
paths-ignore: | |
- README.md | |
- CHANGELOG.md | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
run: npm ci | |
- name: Build the source code | |
run: npm run build | |
- name: Run lint | |
run: npm run lint | |
- name: Run tests and check coverage | |
run: npm run test:coverage |