Skip to content

Commit

Permalink
added react transition group, and a CD script
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeTrevor committed Jul 15, 2021
1 parent 5dafda1 commit df96865
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deploy to firebase

on:
release:
# Only use the types keyword to narrow down the activity types that will trigger your workflow.
types: [published, created, edited]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 12
- run: npm ci
- run: npm run build
- uses: w9jds/firebase-action@master
with:
args: deploy --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
40 changes: 38 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"dependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-transition-group": "^4.4.2",
"workbox-cacheable-response": "^6.1.5",
"workbox-cli": "^6.1.5",
"workbox-routing": "^6.1.5",
Expand Down
1 change: 1 addition & 0 deletions src/components/ScanModule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export let ScanModule = ({ inputDisplayed }) => {
};

interface textareaProps {
className: string;
value: string;
setValue: Function;
placeholder: string;
Expand Down

0 comments on commit df96865

Please sign in to comment.