Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add support for NASA Astronomy Picture of the Day (APOD) #621

Open
wants to merge 196 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
196 commits
Select commit Hold shift + click to select a range
6ca6197
🖊️ work on changing name to Tab Nine
the-wright-jamie Aug 1, 2023
a4b8fce
🖊️ adding dependabot
the-wright-jamie Aug 1, 2023
6523087
change logo
the-wright-jamie Aug 1, 2023
fd2c840
🖊️ update readme
the-wright-jamie Aug 1, 2023
259bcec
🖊️ change logo size in readme
the-wright-jamie Aug 1, 2023
c72d0b1
🖊️ changing icon size again
the-wright-jamie Aug 1, 2023
0f5aa3d
Bump dns-packet from 5.3.1 to 5.6.0
dependabot[bot] Aug 1, 2023
06f1045
Bump loader-utils from 2.0.2 to 2.0.4
dependabot[bot] Aug 1, 2023
cfddfee
Bump word-wrap from 1.2.3 to 1.2.5
dependabot[bot] Aug 1, 2023
aeca62c
Bump react-dom and @types/react-dom
dependabot[bot] Aug 1, 2023
e0390a9
Bump core-js from 3.22.2 to 3.32.0
dependabot[bot] Aug 1, 2023
bcc3af7
Bump json5 from 2.2.1 to 2.2.3
dependabot[bot] Aug 1, 2023
62c0bb8
Bump tough-cookie and node-sass
dependabot[bot] Aug 1, 2023
171288f
Merge pull request #1 from the-wright-jamie/dependabot/npm_and_yarn/d…
dependabot[bot] Aug 1, 2023
0c423df
Merge pull request #2 from the-wright-jamie/dependabot/npm_and_yarn/l…
dependabot[bot] Aug 1, 2023
c02f6b2
Merge pull request #3 from the-wright-jamie/dependabot/npm_and_yarn/w…
dependabot[bot] Aug 1, 2023
e2a2426
Merge pull request #4 from the-wright-jamie/dependabot/npm_and_yarn/r…
dependabot[bot] Aug 1, 2023
2f9e335
Merge pull request #5 from the-wright-jamie/dependabot/npm_and_yarn/c…
dependabot[bot] Aug 1, 2023
e56944f
Merge pull request #6 from the-wright-jamie/dependabot/npm_and_yarn/j…
dependabot[bot] Aug 1, 2023
fce5cc6
Merge pull request #8 from the-wright-jamie/dependabot/npm_and_yarn/t…
dependabot[bot] Aug 1, 2023
60df71e
🔧 fix dependency conflict
the-wright-jamie Aug 1, 2023
378f6fa
Bump webpack from 5.72.0 to 5.88.2
dependabot[bot] Aug 1, 2023
b8b42c3
Merge pull request #9 from the-wright-jamie/dependabot/npm_and_yarn/w…
dependabot[bot] Aug 1, 2023
e234c30
Bump html-webpack-plugin from 5.5.0 to 5.5.3
dependabot[bot] Aug 1, 2023
19ea6a3
Bump react-intl from 5.25.0 to 6.4.4
dependabot[bot] Aug 1, 2023
9553339
Bump github-calendar from 2.3.1 to 2.3.2
dependabot[bot] Aug 1, 2023
e5885aa
Merge pull request #10 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 1, 2023
00f5b07
Bump workbox-webpack-plugin from 6.5.3 to 7.0.0
dependabot[bot] Aug 1, 2023
fcf48a4
🖊️ update logo
the-wright-jamie Aug 1, 2023
7c15835
Merge branch 'trunk' of github.com:the-wright-jamie/tab-nine into trunk
the-wright-jamie Aug 1, 2023
5743f09
Merge pull request #12 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 1, 2023
fbe1b62
Merge pull request #11 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 1, 2023
27e7a1a
Merge pull request #13 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 1, 2023
b8511c7
Bump typescript from 4.6.3 to 5.1.6
dependabot[bot] Aug 1, 2023
dfb57bb
Merge pull request #14 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 1, 2023
21270c0
🖊️ minor update to read me
the-wright-jamie Aug 2, 2023
673bf79
🔧 update uses in yml file
the-wright-jamie Aug 2, 2023
ca91179
🔧 update dependecies
the-wright-jamie Aug 2, 2023
5cc9564
🖊️ mostly finished branding changes
the-wright-jamie Aug 2, 2023
0960bd8
Create FUNDING.yml
the-wright-jamie Aug 2, 2023
4a79c54
✨ groundwork for accent colours (#25)
the-wright-jamie Aug 2, 2023
71d7073
Merge branch 'trunk' of github.com:the-wright-jamie/tab-nine into trunk
the-wright-jamie Aug 2, 2023
b398d12
✨ add pr template (#26)
the-wright-jamie Aug 2, 2023
d8714f6
🖊️ change default accent colour (#25)
the-wright-jamie Aug 3, 2023
3656257
✨ dark mode working (#16)
the-wright-jamie Aug 3, 2023
ff26e6d
🖊️ nice tip button
the-wright-jamie Aug 3, 2023
3c5b992
🖊️ update readme
the-wright-jamie Aug 3, 2023
0377ec5
🖊️ font now based on user's sans-serif font
the-wright-jamie Aug 3, 2023
6cf7568
🖊️ more work on accent colour (#25)
the-wright-jamie Aug 3, 2023
4865d09
🗑️ remove giphy
the-wright-jamie Aug 3, 2023
c14c8a3
✨ accent colour working
the-wright-jamie Aug 3, 2023
f0c8ed9
🖊️ Update manifests (#20; #19; #18)
the-wright-jamie Aug 3, 2023
44650ed
🗑️ strip sentry
the-wright-jamie Aug 3, 2023
56bd664
🔧 bump version numbers
the-wright-jamie Aug 3, 2023
1205bb2
🖊️ update readme to add store pages
the-wright-jamie Aug 3, 2023
9d13a5c
🖊️ Update attributions in readme
the-wright-jamie Aug 3, 2023
de0c26a
Update README.md
the-wright-jamie Aug 4, 2023
963d9b8
🔧 accent colour accessible from anywhere
the-wright-jamie Aug 4, 2023
15a9832
Update README.md
the-wright-jamie Aug 6, 2023
e73d1b1
Update README.md
the-wright-jamie Aug 7, 2023
d6105eb
Update README.md
the-wright-jamie Aug 7, 2023
3ef7a02
🔧 corrected links to tips and tricks
the-wright-jamie Aug 7, 2023
97d33d9
Bump webpack-cli from 4.9.2 to 5.1.4
dependabot[bot] Aug 7, 2023
430763b
Bump tlds from 1.231.0 to 1.240.0
dependabot[bot] Aug 7, 2023
4d0a8fe
Bump dotenv from 16.0.0 to 16.3.1
dependabot[bot] Aug 7, 2023
4c447ea
Merge pull request #33 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 8, 2023
3b7100d
Merge pull request #32 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 8, 2023
12788ae
Merge pull request #30 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 8, 2023
16c500b
Bump webextension-polyfill from 0.9.0 to 0.10.0
dependabot[bot] Aug 8, 2023
7f37cc4
Merge pull request #31 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 8, 2023
495d1a6
🖊️ update storage error message
the-wright-jamie Aug 8, 2023
e89c78a
🖊️ update error modal
the-wright-jamie Aug 8, 2023
ae4d177
🖊️ #16 - dark mode for modals
the-wright-jamie Aug 8, 2023
4a0b3e8
Merge branch 'trunk' of github.com:the-wright-jamie/tab-nine into trunk
the-wright-jamie Aug 8, 2023
aed135c
🔧 #34 | Update jest and fix error
the-wright-jamie Aug 8, 2023
8ba68d6
🔧 #34 | Update @types/node to fix tests
the-wright-jamie Aug 8, 2023
10b10ab
🔧 update webpack config to silence warnings (🤫)
the-wright-jamie Aug 8, 2023
cf1c0b9
🔧 fix github calendar with CSS
the-wright-jamie Aug 8, 2023
a10e1b9
🖊️ version bump
the-wright-jamie Aug 8, 2023
c5962e6
🔧 add center justify to github cal
the-wright-jamie Aug 8, 2023
a0ae0f1
🖊️ update default accent colour
the-wright-jamie Aug 9, 2023
69adac7
🖊️ update support message
the-wright-jamie Aug 9, 2023
e2afe3d
🖊️ move tips and tricks to top
the-wright-jamie Aug 9, 2023
e4e932d
🔧 accent → accent color
the-wright-jamie Aug 9, 2023
b5cd5ce
Update README.md
the-wright-jamie Aug 11, 2023
673cf54
update read me with some information about contrib
the-wright-jamie Aug 11, 2023
70efb84
test
the-wright-jamie Aug 11, 2023
8c62e61
Update README.md
the-wright-jamie Aug 11, 2023
6ffc260
update read me with some information about contrib
the-wright-jamie Aug 11, 2023
ff245ee
Merge pull request #37 from the-wright-jamie/stage
the-wright-jamie Aug 11, 2023
1651ab7
Merge branch 'trunk' of github.com:the-wright-jamie/tab-nine into dev…
the-wright-jamie Aug 11, 2023
f58e63f
Fix some typos in ReadMe
the-wright-jamie Aug 11, 2023
77bc6bf
add merge links into readme
the-wright-jamie Aug 11, 2023
43b0ca5
Merge pull request #38 from the-wright-jamie/development
the-wright-jamie Aug 11, 2023
338eb4e
Merge pull request #39 from the-wright-jamie/stage
the-wright-jamie Aug 11, 2023
8a1a83b
🖊️ bump minor version
the-wright-jamie Aug 11, 2023
5f8254d
✨ use accent color present in db
the-wright-jamie Aug 11, 2023
319c1f0
✨ use accent color checkbox wirking
the-wright-jamie Aug 12, 2023
57bd022
🗑️ #41 - strip they said so
the-wright-jamie Aug 12, 2023
3828662
✨ add about to settings (with ver no.) (more...)
the-wright-jamie Aug 14, 2023
ee1f526
✨ add react-github-btn
the-wright-jamie Aug 14, 2023
e979a57
🖊️ move and update improvements section
the-wright-jamie Aug 14, 2023
bd861a7
✨ #42 - 9 changes colour
the-wright-jamie Aug 14, 2023
bd9f23a
Bump webpack-dev-server from 4.8.1 to 4.15.1
dependabot[bot] Aug 14, 2023
9c9591c
Bump css-loader from 6.7.1 to 6.8.1
dependabot[bot] Aug 14, 2023
72ff7c7
Bump date-fns from 2.28.0 to 2.30.0
dependabot[bot] Aug 14, 2023
10f730b
Bump tlds from 1.240.0 to 1.242.0
dependabot[bot] Aug 14, 2023
f7e35a5
Merge pull request #48 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 15, 2023
cd33bac
Merge pull request #47 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 15, 2023
4662acb
Merge pull request #45 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 15, 2023
35eccab
Merge pull request #44 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 15, 2023
8e8930b
Bump date-fns-tz from 1.3.3 to 2.0.0
dependabot[bot] Aug 15, 2023
1d4727b
Merge pull request #46 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 15, 2023
aa25956
🖊️ Update support message
the-wright-jamie Aug 16, 2023
cc20e9d
✨ link to user toggle for gh cal
the-wright-jamie Aug 16, 2023
aa893a2
add badge css
the-wright-jamie Aug 16, 2023
3f4c109
🔧 #50: safe failstate for invalid widgets
the-wright-jamie Aug 16, 2023
4879d64
Merge pull request #40 from the-wright-jamie/development
the-wright-jamie Aug 16, 2023
c5b163e
Merge branch 'trunk' into stage
the-wright-jamie Aug 16, 2023
c8ea38b
Merge pull request #51 from the-wright-jamie/stage
the-wright-jamie Aug 16, 2023
6baa297
🔧 bump minor version
the-wright-jamie Aug 16, 2023
6a3b209
🔧 #50: rename forgotten Js → Unknown
the-wright-jamie Aug 16, 2023
a5086c5
Bump copy-webpack-plugin from 10.2.4 to 11.0.0
dependabot[bot] Aug 21, 2023
41341f9
Bump @types/react from 18.0.6 to 18.2.20
dependabot[bot] Aug 21, 2023
0eab4a1
Bump feather-icons from 4.29.0 to 4.29.1
dependabot[bot] Aug 21, 2023
fd7e5d8
Update dependabot.yml
the-wright-jamie Aug 21, 2023
4908a66
Merge pull request #58 from the-wright-jamie/the-wright-jamie-patch-1
the-wright-jamie Aug 21, 2023
4f287b9
Merge pull request #56 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 21, 2023
c6befb1
Merge pull request #55 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 21, 2023
0f427da
Merge pull request #53 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 21, 2023
150ff77
Bump jest from 29.6.2 to 29.6.3
dependabot[bot] Aug 21, 2023
b7effc1
Bump @types/node from 20.4.8 to 20.5.1
dependabot[bot] Aug 21, 2023
7d70f2d
Bump react-error-boundary from 3.1.4 to 4.0.11
dependabot[bot] Aug 21, 2023
2ea1ca9
Bump ts-loader from 9.2.8 to 9.4.4
dependabot[bot] Aug 21, 2023
f07d60c
Merge pull request #61 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 21, 2023
191e459
Merge pull request #60 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 21, 2023
d11f215
Merge pull request #59 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 21, 2023
87616c5
Merge pull request #54 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 21, 2023
1509034
🖊️ Update Settings.tsx
the-wright-jamie Aug 24, 2023
eb60431
🖊️ Update README.md
the-wright-jamie Aug 24, 2023
6f95995
Bump @types/react from 18.2.20 to 18.2.21
dependabot[bot] Aug 28, 2023
77ef6fa
Bump core-js from 3.32.0 to 3.32.1
dependabot[bot] Aug 28, 2023
738511f
Bump jest and @types/jest
dependabot[bot] Aug 28, 2023
590246a
Merge pull request #67 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 28, 2023
e47bb7a
Merge pull request #66 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 28, 2023
3058633
Merge pull request #64 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 28, 2023
4529133
Bump prettier from 2.5.1 to 3.0.2
dependabot[bot] Aug 28, 2023
764b754
Merge pull request #63 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 28, 2023
7a4a862
Bump @types/node from 20.5.1 to 20.5.7
dependabot[bot] Aug 28, 2023
91033fa
Merge pull request #65 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Aug 28, 2023
aa3e1b1
Update README.md
the-wright-jamie Aug 31, 2023
1623ce4
🔧 #71: Fix IP Info widget
the-wright-jamie Sep 1, 2023
17f8250
🔧 Remove production console log
the-wright-jamie Sep 1, 2023
a959679
Merge pull request #72 from the-wright-jamie/development
the-wright-jamie Sep 1, 2023
7ea053e
Merge branch 'trunk' into stage
the-wright-jamie Sep 1, 2023
d1b467b
Merge pull request #73 from the-wright-jamie/stage
the-wright-jamie Sep 1, 2023
0c70fac
🔧 Bump patch version
the-wright-jamie Sep 1, 2023
40b3810
Bump @types/webextension-polyfill from 0.8.3 to 0.10.2
dependabot[bot] Sep 4, 2023
7f895b8
Bump typescript from 5.1.6 to 5.2.2
dependabot[bot] Sep 4, 2023
e806586
Bump prettier from 3.0.2 to 3.0.3
dependabot[bot] Sep 4, 2023
d2614f1
Bump @types/node from 20.5.7 to 20.5.9
dependabot[bot] Sep 4, 2023
b0b7a23
Bump mini-css-extract-plugin from 2.6.0 to 2.7.6
dependabot[bot] Sep 4, 2023
2e2ee52
Merge pull request #74 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Sep 5, 2023
f8cfda1
Merge pull request #76 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Sep 5, 2023
9bef8de
Merge pull request #78 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Sep 5, 2023
e77d805
Merge pull request #77 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Sep 5, 2023
7e970c3
Merge pull request #75 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Sep 5, 2023
b66d8e2
Bump @types/node from 20.5.9 to 20.6.0
dependabot[bot] Sep 11, 2023
89d397e
Bump react-intl from 6.4.4 to 6.4.6
dependabot[bot] Sep 11, 2023
2675aab
Bump core-js from 3.32.1 to 3.32.2
dependabot[bot] Sep 11, 2023
f824e1a
Merge pull request #82 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Sep 11, 2023
ea2a822
Merge pull request #84 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Sep 11, 2023
c50fc67
Merge pull request #83 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Sep 11, 2023
fe21d19
Bump react-intl from 6.4.6 to 6.4.7
dependabot[bot] Sep 18, 2023
31590e0
Bump jest and @types/jest
dependabot[bot] Sep 18, 2023
b40c33f
Merge pull request #89 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Sep 19, 2023
7c86f11
Bump @types/node from 20.6.0 to 20.6.2
dependabot[bot] Sep 19, 2023
c3d2709
Merge pull request #88 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Sep 19, 2023
39dd4f7
Merge pull request #87 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Sep 19, 2023
d16c7ee
🔧 Bump version numbers
the-wright-jamie Sep 21, 2023
a8b64d8
🗑️ #85: Remove non-working NBA Scores
the-wright-jamie Sep 21, 2023
fb9b7db
🔧 move stars to top and add support link
the-wright-jamie Sep 21, 2023
feda0bd
Accidentally committed straight to trunk
the-wright-jamie Sep 21, 2023
435b293
Bump @types/react from 18.2.21 to 18.2.22
dependabot[bot] Sep 25, 2023
7172b8c
Bump @types/webextension-polyfill from 0.10.2 to 0.10.3
dependabot[bot] Sep 25, 2023
6d8a839
Merge pull request #91 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Sep 25, 2023
4c10ad2
Merge pull request #93 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Sep 25, 2023
3bee13e
Bump @types/node from 20.6.2 to 20.7.0
dependabot[bot] Sep 25, 2023
3efb392
Merge pull request #94 from the-wright-jamie/dependabot/npm_and_yarn/…
dependabot[bot] Sep 26, 2023
3971067
✨ | #22 - create CI pipeline for store publishing
the-wright-jamie Sep 26, 2023
efb2990
✨ | #62: transition for unsplash slideshow
the-wright-jamie Sep 26, 2023
a2533c6
🗑️ remove forgotten console.logs
the-wright-jamie Sep 26, 2023
6c3416a
Merge pull request #95 from the-wright-jamie/development
the-wright-jamie Sep 26, 2023
ec0a3b6
feat: add nasa apod background
nbouliol Jul 22, 2023
0bbbe67
feat: add copyright
nbouliol Jul 22, 2023
bfd72a0
chore: remove yarn.lock file
nbouliol Nov 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
GIPHY_API_KEY=
UNSPLASH_API_KEY=
13 changes: 13 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: thewrightjamie
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
target-branch: "development"
25 changes: 25 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Subtitle of PR

Brief description of the change.

{Please delete everything in curly brackets like this}

## Checklist

### Developer Testing Evidence

Evidence of the PR is in action in the section below.

- [ ] Tested in Chrome
- [ ] Tested in Firefox
- [ ] Tested in Edge

## Evidence

{Please include browser version for each. Screenshots or videos are acceptable}

### Chrome

### Firefox

### Edge
63 changes: 63 additions & 0 deletions .github/workflows/publish-to-stores.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Update Extension on Stores
on:
push:
tags:
- v*.*.*
jobs:
build:
name: Build ${{ matrix.build_target }}
runs-on: ubuntu-latest
strategy:
matrix:
build_target:
- chromium
- firefox
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 16
- run: npm ci
- run: npm run build:${{ matrix.build_target }}
env:
UNSPLASH_API_KEY: ${{ secrets.UNSPLASH_API_KEY }}
- uses: actions/upload-artifact@v3
with:
name: tab-nine-${{ matrix.build_target }}
path: dist/${{ matrix.build_target }}
upload-chrome-store:
needs: [build]
name: Upload extension to Chrome Store
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
node-version: 16
- uses: actions/download-artifact@v3
with:
name: tab-nine-chromium
- run: zip release.zip ./* -r
- run: npm install -g chrome-webstore-upload-cli
- run: chrome-webstore-upload upload --source release.zip --extension-id ${{ secrets.CHROME_EXTENSION_ID }} --client-id ${{ secrets.CI_GOOGLE_CLIENT_ID }} --client-secret ${{ secrets.CI_GOOGLE_CLIENT_SECRET }} --refresh-token ${{ secrets.CI_GOOGLE_REFRESH_TOKEN }} --auto-publish
upload-firefox-store:
needs: [build]
name: Upload extension to Firefox Store
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
node-version: 16
- uses: actions/download-artifact@v3
with:
name: tab-nine-firefox
- run: zip release.zip ./* -r; mv release.zip ../release.zip; rm -rf *
- uses: actions/[email protected]
- run: zip source.zip ./* -r; mv source.zip ../source.zip; rm -rf *
- run: mv ../release.zip release.zip; mv ../source.zip source.zip
- uses: yayuyokitano/[email protected]
with:
api_key: ${{ secrets.AMO_ISSUER }}
api_secret: ${{ secrets.AMO_SECRET }}
guid: "{${{ secrets.AMO_EXTENSION_ID }}}"
xpi_path: release.zip
src_path: source.zip
12 changes: 6 additions & 6 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ jobs:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3.5.3
- uses: actions/setup-node@v3.7.0
with:
node-version: 16
cache: npm
Expand All @@ -23,17 +23,17 @@ jobs:
- firefox
- web
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3.5.3
- uses: actions/setup-node@v3.7.0
with:
node-version: 16
cache: npm
- run: npm ci
- run: npm run build:${{ matrix.build_target }}
env:
GIPHY_API_KEY: ${{ secrets.GIPHY_API_KEY }}
UNSPLASH_API_KEY: ${{ secrets.UNSPLASH_API_KEY }}
NASA_API_KEY: ${{ secrets.NASA_API_KEY }}
- uses: actions/upload-artifact@v3
with:
name: tabliss-${{ matrix.build_target }}
name: tab-nine-${{ matrix.build_target }}
path: dist/${{ matrix.build_target }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/dist
/node_modules
.env

.DS_Store
Loading