Skip to content

Added more tests, refactored the code and added the CI script #9

Added more tests, refactored the code and added the CI script

Added more tests, refactored the code and added the CI script #9

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: app/gilded-rose.ts
- name: Install dependencies
run: |
apt install npm
npm install
- name: Run the tests
run: npm run test:jest