Sign up js file error handling and addition of sign Up test function #1
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: | ||
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 GitHub Actions / Run TestsInvalid workflow file
|
||
- 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 |