Skip to content

Commit

Permalink
Merge pull request #6 from 392-f24/main
Browse files Browse the repository at this point in the history
Merge main into feature branch
  • Loading branch information
angelp03 authored Nov 8, 2024
2 parents a1420da + 8df8a33 commit 09df329
Show file tree
Hide file tree
Showing 11 changed files with 314 additions and 6,415 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: React CI

on: [push]

jobs:
build:
name: Build and unit test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: npm install
- run: npm run build --if-present
- run: npm test

deploy:
name: Firebase deploy
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '22'
- run: npm install
- run: npm run build
- run: npm install -g firebase-tools
- run: firebase deploy --token "${{ secrets.FIREBASE_DEPLOY_TOKEN }}" --non-interactive
15 changes: 1 addition & 14 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,5 @@
},
"database": {
"rules": "database.rules.json"
},
"functions": [
{
"source": "functions",
"codebase": "default",
"ignore": [
"node_modules",
".git",
"firebase-debug.log",
"firebase-debug.*.log",
"*.local"
]
}
]
}
}
2 changes: 0 additions & 2 deletions functions/.gitignore

This file was deleted.

78 changes: 0 additions & 78 deletions functions/index.js

This file was deleted.

Loading

0 comments on commit 09df329

Please sign in to comment.