first PR!
Create actions for Odysee Delete deploy.yml Remove Mac remove publish hook don't build, just compile
This commit is contained in:
parent
e3791aefdc
commit
1ddfb11870
3 changed files with 61 additions and 107 deletions
100
.github/workflows/deploy.yml
vendored
100
.github/workflows/deploy.yml
vendored
|
@ -1,100 +0,0 @@
|
||||||
name: Node.js CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [master]
|
|
||||||
pull_request:
|
|
||||||
branches: [master]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
lint:
|
|
||||||
name: lint
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: Borales/actions-yarn@v2.3.0
|
|
||||||
- run: yarn lint
|
|
||||||
|
|
||||||
build:
|
|
||||||
needs: ['lint']
|
|
||||||
name: 'build'
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node-version: [14.x]
|
|
||||||
os:
|
|
||||||
- ubuntu-latest
|
|
||||||
- macos-latest
|
|
||||||
- windows-latest
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: actions/setup-node@v2-beta
|
|
||||||
with:
|
|
||||||
node-version: ${{ matrix.node-version }}
|
|
||||||
|
|
||||||
- uses: maxim-lobanov/setup-xcode@v1
|
|
||||||
if: startsWith(runner.os, 'mac')
|
|
||||||
with:
|
|
||||||
xcode-version: '10.3.0'
|
|
||||||
|
|
||||||
- name: Download blockchain headers
|
|
||||||
run: |
|
|
||||||
mkdir -p ./static/daemon
|
|
||||||
curl -o ./static/daemon/headers https://headers.lbry.io/blockchain_headers_latest
|
|
||||||
ls ./static/daemon
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: |
|
|
||||||
yarn global add cross-env
|
|
||||||
yarn
|
|
||||||
yarn build
|
|
||||||
node ./build/afterSignHook.js
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
||||||
NOTARIZATION_USERNAME: ${{ secrets.NOTARIZATION_USERNAME }}
|
|
||||||
NOTARIZATION_PASSWORD: ${{ secrets.NOTARIZATION_PASSWORD }}
|
|
||||||
WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }}
|
|
||||||
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
|
|
||||||
WIN_CSC_LINK: https://s3.amazonaws.com/files.lbry.io/cert/win-csc-2020-2021-08.p12
|
|
||||||
CSC_LINK: https://s3.amazonaws.com/files.lbry.io/cert/osx-csc-2021-2022.p12
|
|
||||||
|
|
||||||
# UI
|
|
||||||
MATOMO_URL: https://analytics.lbry.com/
|
|
||||||
MATOMO_ID: 4
|
|
||||||
WELCOME_VERSION: 1.0
|
|
||||||
DOMAIN: lbry.tv
|
|
||||||
URL: https://lbry.tv
|
|
||||||
SHARE_DOMAIN_URL: https://open.lbry.com
|
|
||||||
SITE_TITLE: lbry.tv
|
|
||||||
SITE_NAME: lbry.tv
|
|
||||||
SHOW_ADS: false
|
|
||||||
YRBL_HAPPY_IMG_URL: https://cdn.lbryplayer.xyz/api/v3/streams/free/yrbl-happy/7aa50a7e5adaf48691935d55e45d697547392929/839d9a
|
|
||||||
YRBL_SAD_IMG_URL: https://cdn.lbryplayer.xyz/api/v3/streams/free/yrbl-sad/c2d9649633d974e5ffb503925e1f17d951f1bd0f/f262dd
|
|
||||||
ENABLE_COMMENT_REACTIONS: true
|
|
||||||
ENABLE_NO_SOURCE_CLAIMS: false
|
|
||||||
|
|
||||||
DEFAULT_LANGUAGE: en
|
|
||||||
KNOWN_APP_DOMAINS: lbry.tv,lbry.lat,odysee.com
|
|
||||||
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS: 0
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
if: |
|
|
||||||
startsWith(runner.os, 'linux')
|
|
||||||
with:
|
|
||||||
name: Linux
|
|
||||||
path: ./dist/electron/*.*
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
if: |
|
|
||||||
startsWith(runner.os, 'mac')
|
|
||||||
with:
|
|
||||||
name: macOS
|
|
||||||
path: ./dist/electron/*.*
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
if: |
|
|
||||||
github.event.pull_request.head.repo.full_name == github.repository
|
|
||||||
with:
|
|
||||||
name: Windows
|
|
||||||
path: ./dist/electron/*.*
|
|
59
.github/workflows/node.js.yml
vendored
Normal file
59
.github/workflows/node.js.yml
vendored
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
||||||
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
||||||
|
|
||||||
|
name: Node.js CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [master]
|
||||||
|
pull_request:
|
||||||
|
branches: [master]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
name: lint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: Borales/actions-yarn@v2.3.0
|
||||||
|
- run: yarn lint
|
||||||
|
|
||||||
|
build:
|
||||||
|
needs: ['lint']
|
||||||
|
name: 'build'
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [14.x]
|
||||||
|
os:
|
||||||
|
- ubuntu-latest
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v2-beta
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
yarn global add cross-env
|
||||||
|
yarn
|
||||||
|
yarn compile:web
|
||||||
|
env:
|
||||||
|
# UI
|
||||||
|
MATOMO_URL: https://analytics.lbry.com/
|
||||||
|
MATOMO_ID: 4
|
||||||
|
WELCOME_VERSION: 1.0
|
||||||
|
DOMAIN: odysee.com
|
||||||
|
URL: https://odysee.com
|
||||||
|
SHARE_DOMAIN_URL: https://odysee.com
|
||||||
|
SITE_TITLE: Odysee
|
||||||
|
SITE_NAME: Odysee
|
||||||
|
SHOW_ADS: false
|
||||||
|
YRBL_HAPPY_IMG_URL: https://cdn.lbryplayer.xyz/api/v3/streams/free/yrbl-happy/7aa50a7e5adaf48691935d55e45d697547392929/839d9a
|
||||||
|
YRBL_SAD_IMG_URL: https://cdn.lbryplayer.xyz/api/v3/streams/free/yrbl-sad/c2d9649633d974e5ffb503925e1f17d951f1bd0f/f262dd
|
||||||
|
ENABLE_COMMENT_REACTIONS: true
|
||||||
|
ENABLE_NO_SOURCE_CLAIMS: true
|
||||||
|
DEFAULT_LANGUAGE: en
|
||||||
|
KNOWN_APP_DOMAINS: lbry.tv,lbry.lat,odysee.com
|
||||||
|
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS: 4
|
|
@ -1,11 +1,7 @@
|
||||||
<img width="40%" src="https://miro.medium.com/max/5198/1*bTVuL2THG_0mpwmE-n7Ezg.png" />
|
|
||||||
|
|
||||||
# LBRY App - https://lbry.tv
|
# Odysee Frontend - Odysee.com
|
||||||
|
|
||||||
This repo contains the UI code that powers the official LBRY desktop app, as well as lbry.tv. The LBRY app is a graphical browser for the decentralized content marketplace provided by the
|
This repo contains the UI and front end code that powers Odysee.com.
|
||||||
[LBRY](https://lbry.com) protocol. It is essentially the
|
|
||||||
[lbry daemon](https://github.com/lbryio/lbry) bundled with a UI using
|
|
||||||
[Electron](https://electron.atom.io/).
|
|
||||||
|
|
||||||
<a href="https://github.com/lbryio/lbry-desktop/blob/master/LICENSE" title="MIT licensed">
|
<a href="https://github.com/lbryio/lbry-desktop/blob/master/LICENSE" title="MIT licensed">
|
||||||
<img alt="npm" src="https://img.shields.io/dub/l/vibe-d.svg?style=flat">
|
<img alt="npm" src="https://img.shields.io/dub/l/vibe-d.svg?style=flat">
|
||||||
|
@ -29,7 +25,6 @@ This repo contains the UI code that powers the official LBRY desktop app, as wel
|
||||||
</a>
|
</a>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
![App GIF](https://spee.ch/ba/lbry-joule.gif)
|
|
||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue