Updating Prediction Result Data for Thu Feb 6 02:28:45 UTC 2025 #768
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: Build & Test | |
on: | |
push: | |
branches: | |
- prod | |
pull_request: | |
jobs: | |
build: | |
name: Build & Test | |
runs-on: ubuntu-latest # Use the latest version of Ubuntu | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: view/.node-version | |
cache-dependency-path: view/package-lock.json | |
cache: 'npm' | |
- name: Install dependencies | |
run: cd view && npm install | |
- name: Run tests | |
run: cd view && npm test | |
deploy: | |
needs: build | |
name: Deploy | |
if: github.ref == 'refs/heads/prod' | |
uses: ./.github/workflows/deploy.yml | |
secrets: inherit |