-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into publisher-go
# Conflicts: # .github/workflows/ci.yml # publisher/Dockerfile # publisher/Makefile # publisher/invoke.yaml # publisher/requirements.txt # publisher/scripts/make_new_episode.sh # publisher/scripts/upload_mp3.sh # publisher/spot.yml # publisher/tasks/mp3_tags.py # publisher/utils/episode_posts.py
- Loading branch information
Showing
2,453 changed files
with
18,269 additions
and
7,296 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,20 @@ | ||
name: "Check size limit for CSS and JS bundles" | ||
on: | ||
pull_request: | ||
paths: | ||
- "hugo/**/*.jsx?" | ||
- "hugo/**/*.tsx?" | ||
- "hugo/**/*.scss" | ||
|
||
jobs: | ||
size: | ||
runs-on: ubuntu-latest | ||
env: | ||
CI_JOB_NUMBER: 1 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: andresz1/size-limit-action@v1 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
directory: hugo/ | ||
build_script: build |
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,39 @@ | ||
name: "Lint JS files" | ||
|
||
on: | ||
push: | ||
branches: | ||
tags: | ||
paths: | ||
- "hugo/**/*.jsx?" | ||
- "hugo/**/*.tsx?" | ||
pull_request: | ||
paths: | ||
- "hugo/**/*.jsx?" | ||
- "hugo/**/*.tsx?" | ||
|
||
jobs: | ||
frontend-lint: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: [14.15] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- run: npm ci --loglevel warn | ||
working-directory: ./hugo | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
path: ${{ github.workspace }}/hugo/node_modules/.cache | ||
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- run: npm run eslint | ||
working-directory: ./hugo |
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 |
---|---|---|
|
@@ -5,4 +5,5 @@ publisher/utils/eyeD3/*.pyc | |
*.code-workspace | ||
.env | ||
.DS_Store | ||
publisher/target/ | ||
publisher/target/ | ||
.idea |
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
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
Binary file not shown.
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
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,4 @@ | ||
node_modules | ||
public | ||
dev | ||
static/build |
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,55 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
es2021: true, | ||
amd: true, | ||
}, | ||
globals: { | ||
process: true, | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:react/recommended', | ||
'prettier', | ||
'prettier/@typescript-eslint', | ||
'prettier/prettier', | ||
'prettier/react', | ||
], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
ecmaVersion: 12, | ||
sourceType: 'module', | ||
}, | ||
plugins: ['@typescript-eslint', 'react'], | ||
rules: { | ||
'one-var': ['error', 'never'], | ||
'prefer-template': 'error', | ||
'react/prop-types': 'off', | ||
'no-use-before-define': 'error', | ||
}, | ||
settings: { | ||
react: { | ||
pragma: 'h', | ||
fragment: 'Fragment', | ||
version: '17', | ||
}, | ||
}, | ||
overrides: [ | ||
{ | ||
files: './*.js', | ||
env: { | ||
node: true, | ||
}, | ||
}, | ||
{ | ||
files: ['*.ts', '*.tsx'], | ||
extends: ['plugin:@typescript-eslint/recommended'], | ||
rules: { | ||
'@typescript-eslint/explicit-module-boundary-types': 'off', | ||
}, | ||
}, | ||
], | ||
}; |
Oops, something went wrong.