Optimized test case execution time && Tests to verify the api endpoint. #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: quick_start_express CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
run_jest_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository. | |
uses: actions/checkout@v4 | |
- name: Use Node.js LTS. | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22.x' | |
- name: Install Dependencies. | |
run: npm i | |
- name: Run Jest tests. | |
run: npm test |