Skip to content

Sign up js file error handling and addition of sign Up test function #2

Sign up js file error handling and addition of sign Up test function

Sign up js file error handling and addition of sign Up test function #2

Workflow file for this run

//this is used for automated github testing
name: Run Tests

Check failure on line 3 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
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