Update react-loader-spinner imports #70
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: Execute Necessary Tests | |
# This workflow gets triggered on push events except for the 'docs' branch, and on pull request events. | |
on: | |
push: | |
branches-ignore: | |
- 'docs' | |
pull_request: | |
jobs: | |
# The 'Test' job | |
Test: | |
# This job runs on the latest version of Ubuntu | |
runs-on: ubuntu-latest | |
steps: | |
# Step 1: Checkout the repository | |
- uses: actions/checkout@v2 | |
# Step 2: Setup Node.js environment with version 16 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
# Step 3: Install npm dependencies | |
- run: npm install | |
# Step 4: Run linting | |
- run: npm run lint | |
# Step 5: Run type checking | |
- run: npm run typecheck | |
# Step 6: Run tests | |
- run: npm run test |