Skip to content

Merge pull request #58 from douglaszaltron/patch-3 #45

Merge pull request #58 from douglaszaltron/patch-3

Merge pull request #58 from douglaszaltron/patch-3 #45

Workflow file for this run

name: Lint & test
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
Lint-and-test:
name: Lint and run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: install
run: npm ci
- name: Lint
run: npm run lint:report
continue-on-error: true
- name: Annotate Code Linting Results
uses: ataylorme/eslint-annotate-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
report-json: "eslint_report.json"
markdown-report-on-step-summary: true
- name: Build
run: npm run build
- name: Run tests
run: npm run test:action