1
0
mirror of https://github.com/pavlobu/deskreen.git synced 2025-06-01 07:10:09 -07:00

fix builds, froze yarn

This commit is contained in:
Pavlo Buidenkov 2021-02-23 13:02:40 +02:00
parent 01fcde2087
commit 9cd4676b5c
7 changed files with 55 additions and 13 deletions

View File

@ -40,15 +40,15 @@ jobs:
- name: yarn install in ./app/client - name: yarn install in ./app/client
run: | run: |
cd ./app/client cd ./app/client
yarn install yarn install --frozen-lockfile
- name: yarn install in ./ - name: yarn install in ./
run: yarn install run: yarn install --frozen-lockfile
- name: yarn install in ./app - name: yarn install in ./app
run: | run: |
cd ./app cd ./app
yarn install yarn install --frozen-lockfile
- name: yarn build - name: yarn build
env: env:

View File

@ -36,15 +36,15 @@ jobs:
- name: yarn install in ./app/client - name: yarn install in ./app/client
run: | run: |
cd ./app/client cd ./app/client
yarn install yarn install --frozen-lockfile
- name: yarn install in ./ - name: yarn install in ./
run: yarn install run: yarn install --frozen-lockfile
- name: yarn install in ./app - name: yarn install in ./app
run: | run: |
cd ./app cd ./app
yarn install yarn install --frozen-lockfile
- name: yarn build - name: yarn build
env: env:

View File

@ -61,15 +61,15 @@ jobs:
- name: yarn install in ./app/client - name: yarn install in ./app/client
run: | run: |
cd ./app/client cd ./app/client
yarn install yarn install --frozen-lockfile
- name: yarn install in ./ - name: yarn install in ./
run: yarn install run: yarn install --frozen-lockfile
- name: yarn install in ./app - name: yarn install in ./app
run: | run: |
cd ./app cd ./app
yarn install yarn install --frozen-lockfile
- name: yarn build - name: yarn build
env: env:

View File

@ -131,7 +131,7 @@ You will need to have `node` `npm` and `yarn` installed
globally on your machine. globally on your machine.
1. git clone this repo 1. git clone this repo
2. `cd app/client; yarn install ; cd ../../ ; yarn install` 2. `cd app/client; yarn install --frozen-lockfile ; cd ../../ ; yarn install --frozen-lockfile`
3. `yarn dev` -- run in dev mode with live updates 3. `yarn dev` -- run in dev mode with live updates
### Useful yarn commands ### Useful yarn commands

View File

@ -138,7 +138,28 @@ exports[`should match exact snapshot 1`] = `
</span> </span>
</div> </div>
<div <div
className="col-xs-12 col-md-6" className="col-xs-12 col-md-1"
>
<div
className="row center-xs"
style={
Object {
"height": "42px",
}
}
>
<div
className=""
>
FPS: 
</div>
<p
id="fps-show"
/>
</div>
</div>
<div
className="col-xs-12 col-md-5"
> >
<div <div
className="row center-xs" className="row center-xs"

View File

@ -150,7 +150,28 @@ exports[`should match exact snapshot 1`] = `
</span> </span>
</div> </div>
<div <div
className="col-xs-12 col-md-6" className="col-xs-12 col-md-1"
>
<div
className="row center-xs"
style={
Object {
"height": "42px",
}
}
>
<div
className=""
>
FPS: 
</div>
<p
id="fps-show"
/>
</div>
</div>
<div
className="col-xs-12 col-md-5"
> >
<div <div
className="row center-xs" className="row center-xs"

View File

@ -21,7 +21,7 @@ let lastCalculatedFPSTimestamp = 0;
function dumpStatsFramesPerSecondOnly(results: any) { function dumpStatsFramesPerSecondOnly(results: any) {
// framesReceived // framesReceived
let isFremsPerSecondSet; let isFremsPerSecondSet;
let statsString = ''; // let statsString = '';
results.forEach((res: any) => { results.forEach((res: any) => {
// statsString += '<h3>Report type='; // statsString += '<h3>Report type=';