Skip to content

Commit

Permalink
feat: update internals
Browse files Browse the repository at this point in the history
  • Loading branch information
dessant committed Dec 26, 2021
1 parent 5265e9a commit d0656aa
Show file tree
Hide file tree
Showing 42 changed files with 43,102 additions and 13,313 deletions.
8 changes: 1 addition & 7 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{
"presets": [
[
"@babel/env",
{
"exclude": ["transform-regenerator"],
"modules": false
}
]
["@babel/env", {"useBuiltIns": "usage", "corejs": {"version": 3}}]
],
"env": {
"production": {
Expand Down
13 changes: 0 additions & 13 deletions .ci/Dockerfile

This file was deleted.

11 changes: 0 additions & 11 deletions .ci/build.sh

This file was deleted.

70 changes: 70 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: CI

on: push

jobs:
build:
name: Build
runs-on: ubuntu-20.04
permissions:
contents: read
steps:
- name: Clone repository
uses: actions/checkout@v2
with:
persist-credentials: 'false'
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Build artifacts
run: |
npm run build:prod:zip:chrome
npm run build:prod:zip:edge
npm run build:prod:zip:firefox
npm run build:prod:zip:opera
- name: Hash artifacts
run: sha256sum artifacts/*/*
if: startsWith(github.ref, 'refs/tags/v')
- name: Upload artifacts
uses: actions/upload-artifact@v2
if: startsWith(github.ref, 'refs/tags/v')
with:
name: artifacts
path: artifacts/
retention-days: 1
release:
name: Release on GitHub
runs-on: ubuntu-20.04
needs: [build]
if: startsWith(github.ref, 'refs/tags/v')
permissions:
contents: write
steps:
- name: Get release information
id: release_info
run: |
echo ::set-output name=TAG::${GITHUB_REF/refs\/tags\//}
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: artifacts
path: artifacts/
- name: Hash artifacts
run: sha256sum artifacts/*/*
- name: Create GitHub release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.release_info.outputs.TAG }}
name: ${{ steps.release_info.outputs.TAG }}
body: |
Download and install the extension from the [extension store](https://github.com/dessant/youtube-autoplay#readme) of your browser.
Learn more about this release from the [changelog](https://github.com/dessant/youtube-autoplay/blob/master/CHANGELOG.md#changelog).
files: artifacts/*/*
fail_on_unmatched_files: true
draft: true
18 changes: 10 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
.assets/
/.assets/
/app/

node_modules/
artifacts/
dist/
/artifacts/
/dist/

web-ext-config.js
/.vscode

npm-debug.log
yarn-debug.log
yarn-error.log
.yarn-integrity
/web-ext-config.js

/npm-debug.log

/report.json
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.13.1
16.13.1
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
package.json
.travis.yml
*.md
2 changes: 2 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
singleQuote: true
bracketSpacing: false
arrowParens: 'avoid'
trailingComma: 'none'
26 changes: 0 additions & 26 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ your autoplay settings between sessions.
## Screenshots

<p>
<img width="414" src="https://i.imgur.com/8JyDNCr.png">
<img width="380" src="https://i.imgur.com/8JyDNCr.png">
</p>

## License
Expand Down
Loading

0 comments on commit d0656aa

Please sign in to comment.