Skip to content

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

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 #1

Workflow file for this run

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]

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

View workflow run for this annotation

GitHub Actions / Run Tests

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 20, Col: 25): A sequence was not expected .github/workflows/test.yml (Line: 24, Col: 9): 'run' is already defined
- 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