mirror of
https://github.com/pavlobu/deskreen.git
synced 2025-05-21 09:50:13 -07:00
check actions test run, and change readme
This commit is contained in:
parent
a12b87cf56
commit
9f24b45919
119
.github/workflows/test.yml
vendored
119
.github/workflows/test.yml
vendored
@ -1,74 +1,75 @@
|
|||||||
# name: build and test
|
name: build and test
|
||||||
|
|
||||||
# on: [pull_request]
|
on: [pull_request]
|
||||||
|
|
||||||
# # NPMRC_ADMIN_USER_AUTH_TOKEN
|
# NPMRC_ADMIN_USER_AUTH_TOKEN
|
||||||
|
|
||||||
# jobs:
|
jobs:
|
||||||
# build-and-test:
|
build-and-test:
|
||||||
# runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
# strategy:
|
strategy:
|
||||||
# matrix:
|
matrix:
|
||||||
# os: [macos-10.14, windows-2019, ubuntu-18.04]
|
os: [macos-10.15, windows-2019, ubuntu-18.04]
|
||||||
|
|
||||||
# steps:
|
steps:
|
||||||
# - name: Check out Git repository
|
- name: Check out Git repository
|
||||||
# uses: actions/checkout@v2.3.1
|
uses: actions/checkout@v2.3.1
|
||||||
|
|
||||||
# - name: Install Node.js, NPM and Yarn
|
- name: Install Node.js, NPM and Yarn
|
||||||
# uses: actions/setup-node@v1.4.2
|
uses: actions/setup-node@v1.4.2
|
||||||
# with:
|
with:
|
||||||
# node-version: 14
|
node-version: 14
|
||||||
|
|
||||||
# # - name: yarn install from npmjs registry
|
# - name: yarn install from npmjs registry
|
||||||
# # run: |
|
# run: |
|
||||||
# # yarn install --no-lockfile
|
# yarn install --no-lockfile
|
||||||
# # yarn install-client:nolockfile
|
# yarn install-client:nolockfile
|
||||||
|
|
||||||
# - name: Configure private AWS npm registry and install packages from it
|
- name: Configure private AWS npm registry and install packages from it
|
||||||
# # if: ${{ failure() }}
|
# if: ${{ failure() }}
|
||||||
# run: |
|
run: |
|
||||||
# npm config set registry https://packages.deskreen.com/
|
npm config set registry https://packages.deskreen.com/
|
||||||
# npm set //packages.deskreen.com/:_authToken="${{ secrets.NPMRC_USER_TOKEN }}"
|
npm set //packages.deskreen.com/:_authToken="${{ secrets.NPMRC_USER_TOKEN }}"
|
||||||
# npm config set always-auth true
|
npm config set always-auth true
|
||||||
# yarn install --frozen-lockfile
|
yarn install --frozen-lockfile
|
||||||
# yarn install-client:frozenlockfile
|
cd app/client
|
||||||
|
yarn install --frozen-lockfile
|
||||||
|
|
||||||
# # following step does code signing when `electron-builder --publish always` (look in package.json)
|
# following step does code signing when `electron-builder --publish always` (look in package.json)
|
||||||
# - name: yarn package-ci
|
- name: yarn package-ci
|
||||||
# env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# run: yarn package-ci
|
run: yarn package-ci
|
||||||
|
|
||||||
# - name: yarn build
|
- name: yarn build
|
||||||
# env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# run: yarn build
|
run: yarn build
|
||||||
|
|
||||||
# - name: yarn lint
|
- name: yarn lint
|
||||||
# env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# run: yarn lint
|
run: yarn lint
|
||||||
|
|
||||||
# - name: yarn tsc
|
- name: yarn tsc
|
||||||
# env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# run: yarn tsc
|
run: yarn tsc
|
||||||
|
|
||||||
# - name: yarn test
|
- name: yarn test
|
||||||
# env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# run: yarn test
|
run: yarn test
|
||||||
|
|
||||||
# - name: yarn build-ux
|
- name: yarn build-ux
|
||||||
# env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# run: yarn build-ux
|
run: yarn build-ux
|
||||||
|
|
||||||
# - name: yarn test-ux
|
- name: yarn test-ux
|
||||||
# uses: GabrielBB/xvfb-action@v1.2
|
uses: GabrielBB/xvfb-action@v1.2
|
||||||
# env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# with:
|
with:
|
||||||
# run: yarn test-ux
|
run: yarn test-ux
|
||||||
|
@ -34,11 +34,11 @@ sonar.login=d0c254aaff5ebd89dd5c6f0663238ab6ad5fddea
|
|||||||
|
|
||||||
## Maintainer
|
## Maintainer
|
||||||
|
|
||||||
- [Pavlo (Paul) Buidenkov](https://github.com/pavlo/buidenkov)
|
- [Pavlo (Paul) Buidenkov](https://github.com/pavlobu)
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
MIT © [Deskreen](https://github.com/pavlobu/deskreen)
|
MIT © [Pavlo (Paul) Buidenkov](https://github.com/pavlobu/deskreen)
|
||||||
|
|
||||||
## Copyright
|
## Copyright
|
||||||
|
|
||||||
|
@ -98,14 +98,20 @@ export default function IntermediateStep(props: IntermediateStepProps) {
|
|||||||
// ) : (
|
// ) : (
|
||||||
// <></>
|
// <></>
|
||||||
// )
|
// )
|
||||||
// eslint-disable-next-line react/jsx-indent
|
props.activeStep === 0 ? (
|
||||||
<Button
|
// eslint-disable-next-line react/jsx-indent
|
||||||
onClick={() => {
|
<Button
|
||||||
connectDevice(DEVICES[Math.floor(Math.random() * DEVICES.length)]);
|
onClick={() => {
|
||||||
}}
|
connectDevice(
|
||||||
>
|
DEVICES[Math.floor(Math.random() * DEVICES.length)]
|
||||||
Connect Test Device
|
);
|
||||||
</Button>
|
}}
|
||||||
|
>
|
||||||
|
Connect Test Device
|
||||||
|
</Button>
|
||||||
|
) : (
|
||||||
|
<></>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user