Skip to content

Merge pull request #13 from credebl/taskdef #6

Merge pull request #13 from credebl/taskdef

Merge pull request #13 from credebl/taskdef #6

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
validate:
name: Validate
runs-on: ubuntu-20.04
steps:
- name: Check the repository
uses: actions/checkout@v2
# Setup Node.js
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 18.x
cache: yarn
# Installing the project dependencies
- name: Install dependencies
run: yarn install --frozen-lockfile
# Validation
- name: Running `yarn validate`
run: yarn validate
# Run the tests
- name: Run tests with coverage
run: yarn test --coverage