Fix call to login
method in register
function tests
#2
Workflow file for this run
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: Run Tests | |
on: | |
pull_request: # Trigger the action when a PR is opened or updated | |
jobs: | |
test: | |
runs-on: ubuntu-latest # Use an Ubuntu environment | |
steps: | |
- uses: actions/checkout@v4 # Check out repository code | |
- name: Set up Node.js # Example for Node.js - adapt for your language | |
uses: actions/setup-node@v4 | |
- name: Install dependencies | |
run: npm ci | |
- name: Run tests | |
run: npm test |