Skip to content

Merge pull request #707 from dmytroshch/fix/leverage2 #2121

Merge pull request #707 from dmytroshch/fix/leverage2

Merge pull request #707 from dmytroshch/fix/leverage2 #2121

Workflow file for this run

name: Pull request verify workflow
on:
# Trigger the workflow on push or pull request,
# but only for the default(main) branch
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, labeled, synchronize, ready_for_review]
jobs:
checks:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.18.x]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm install
- name: Run Build Check
run: npm run build
- name: Run Lint Check
run: npm run lint
- name: Annotate Checks
uses: agyemanjp/[email protected]
with:
ghToken: ${{ secrets.GITHUB_TOKEN }}
checks: '[
{
"name": "build",
"fileName": ".build-report.json",
"prChangesOnly": true
},
{
"name": "lint",
"fileName": ".lint-report.json",
"prChangesOnly": true
}
]'