@ -6,9 +6,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
@ -18,6 +15,7 @@ jobs:
["windows-2019"],
["macos-11.0"],
]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
@ -26,4 +24,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run checkPlugins && npm run lint && npm run test
- run: npm run checkPlugins
- run: npm run lint
- run: npm run test
@ -52,7 +52,6 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
const ratio = parseInt((newSize / oldSize) * 100, 10);
console.log(newSize, oldSize);
const sizeText = `New file has size ${newSize.toFixed(3)} MB which is ${ratio}% `
+ `of original file size: ${oldSize.toFixed(3)} MB`;