-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
425fff8
commit 6387bc6
Showing
3 changed files
with
243 additions
and
169 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: 'Build And Create New Release' | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Install NodeJs v14 | ||
uses: actions/setup-node@v3 | ||
with: | ||
# Version Spec of the version to use in SemVer notation. | ||
# It also emits such aliases as lts, latest, nightly and canary builds | ||
# Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node | ||
node-version: '14.x' | ||
|
||
- name: Run Install | ||
uses: borales/actions-yarn@v4 | ||
with: | ||
cmd: install | ||
- name: Build production bundle | ||
uses: borales/actions-yarn@v4 | ||
with: | ||
cmd: build # will run `yarn build` command | ||
|
||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: | | ||
extension/chrome | ||
extension/firefox | ||
extension/opera | ||
extension/chrome.zip | ||
extension/firefox.xpi | ||
extension/opera.crx |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,21 @@ | ||
# alt-cdn | ||
|
||
Experiencing a situation where your country inexplicably blocks certain content delivery networks, like jsDelivr, can be quite frustrating. This leads to numerous broken websites due to missing essential JavaScript files. This extension provides an alternative to using a VPN. It simply asks for a list of preferred providers (usually just one for most people) and automatically replaces the blocked content with suitable alternatives. | ||
|
||
## Installation | ||
|
||
## Contributing | ||
|
||
- make sure you have node.js v14 `nvm use 14` | ||
|
||
- install yarn `npm i -g yarn` | ||
|
||
- install `yarn install` | ||
|
||
- run dev command for your browser `yarn dev:chome` or `yarn dev:firefox` or `yarn dev:opera` | ||
|
||
- add the extension to your browser | ||
- In Chrome/Edge | ||
1. go to the extensions page (`chrome:https://extensions` or `edge:https://extensions`). | ||
2. Enable Developer Mode. | ||
3. click `load unpacked` then select `$your-project-path/extension/chrome` |
Oops, something went wrong.