This repository was archived by the owner on Dec 28, 2024. It is now read-only.
fixed env config #229
This file contains hidden or 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
| # Workflow to test the connection to mongoDB on pushes to any branch | |
| name: Test Google Login | |
| # Runs on push to any branch | |
| on: | |
| push: | |
| # ** means all branches and tags | |
| branches: ["**"] | |
| # Workflow can be triggered manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| # Run tests | |
| test_login: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-node@v1 | |
| with: | |
| node-version: '16.x' | |
| - name: Test google login | |
| run: | | |
| cd client | |
| npm install | |
| npm run test -- client/src/tests | |
| timeout-minutes: 1 |