Skip to content

removing unneeded scope #233

removing unneeded scope

removing unneeded scope #233

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Jest:
environment: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run Tests
env:
REACT_APP_SPOTIFY_CLIENT_ID: ${{ secrets.REACT_APP_SPOTIFY_CLIENT_ID }}
REACT_APP_SPOTIFY_CLIENT_SECRET: ${{ secrets.REACT_APP_SPOTIFY_CLIENT_SECRET }}
REACT_APP_SPOTIFY_REDIRECT_URI: ${{ secrets.REACT_APP_SPOTIFY_REDIRECT_URI }}
REACT_APP_SPOTIFY_REDIRECT_URI_LOCAL: ${{ secrets.REACT_APP_SPOTIFY_REDIRECT_URI_LOCAL }}
REACT_APP_SPOTIFY_REDIRECT_URI_PROD: ${{ secrets.REACT_APP_SPOTIFY_REDIRECT_URI_PROD }}
REACT_APP_STAGE: ${{ secrets.REACT_APP_STAGE }}
run: |
REACT_APP_SPOTIFY_CLIENT_ID=${REACT_APP_SPOTIFY_CLIENT_ID}
REACT_APP_SPOTIFY_CLIENT_SECRET=${REACT_APP_SPOTIFY_CLIENT_SECRET}
REACT_APP_SPOTIFY_REDIRECT_URI=${REACT_APP_SPOTIFY_REDIRECT_URI}
REACT_APP_SPOTIFY_REDIRECT_URI_LOCAL=${REACT_APP_SPOTIFY_REDIRECT_URI_LOCAL}
REACT_APP_SPOTIFY_REDIRECT_URI_PROD=${REACT_APP_SPOTIFY_REDIRECT_URI_PROD}
REACT_APP_STAGE=${REACT_APP_STAGE}
npm install --force
npm run jest