Skip to content

Merge pull request #25 from marcode24/dev-2024 #56

Merge pull request #25 from marcode24/dev-2024

Merge pull request #25 from marcode24/dev-2024 #56

Workflow file for this run

name: InfoReader CI
on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, synchronize]
jobs:
linter:
name: ✅ Validate linter
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout project
uses: actions/checkout@v3
- name: 🟢 Setup NodeJS 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
cache-dependency-path: './package-lock.json'
- name: 📥 Install dependencies
run: npm ci
- name: 📑 Check lint
run: npm run lint
test:
name: 🧑‍🔬 Test project
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout project
uses: actions/checkout@v3
- name: 🟢 Setup NodeJS 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
cache-dependency-path: './package-lock.json'
- name: 📥 Install dependencies
run: npm ci
- name: 🧪 Run unit tests
run: npm run test -- --no-watch --code-coverage --browsers=ChromeHeadlessCI