Sign up js file error handling and addition of sign Up test function #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
//this is used for automated github testing | ||
name: Run Tests | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: [ 16.x, 18.x] | ||
- name: Install dependencies | ||
run: npm install | ||
run: npm install eslint | ||
run: npm install eslint-config-google | ||
- name: Run Jest tests | ||
run: npm run lint | ||
run: npm test |