Skip to content

Merge pull request #16 from credebl/chore/upgrade-deps #13

Merge pull request #16 from credebl/chore/upgrade-deps

Merge pull request #16 from credebl/chore/upgrade-deps #13

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: 20.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