Skip to content

Commit

Permalink
[CI]: bump failure asset size to 75 bytes (#7359)
Browse files Browse the repository at this point in the history
* [Ci]: bump failure asset size to 75 bytes
  • Loading branch information
snewcomer authored Oct 30, 2020
1 parent 34ee537 commit 96f871a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/asset-size-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
asset-size-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2-beta
with:
node-version: 12.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -92,13 +92,13 @@ jobs:
node ./bin/asset-size-tracking/generate-diff.js ./control-data-no-rollup.json ./experiment-data-no-rollup.json | tee tmp/asset-sizes/diff-no-rollup.txt
- name: Upload Dist Artifacts
if: failure() || success()
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
with:
name: dists
path: packages/-ember-data/dists
- name: Upload Report Artifacts
if: failure() || success()
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
with:
name: reports
path: tmp/asset-sizes
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
test-all-deprecations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: 12.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -33,8 +33,8 @@ jobs:
scenario: [ember-beta, ember-canary]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/relationship-performance-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
relationship-performance-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2-beta
with:
node-version: 12.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions bin/asset-size-tracking/generate-diff.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ const Library = require('./src/library');
const parseModules = require('./src/parse-modules');
const getBuiltDist = require('./src/get-built-dist');

const library_failure_threshold = 15;
const package_warn_threshold = 0;

let BASE_DATA_FILE = process.argv[2] || false;
let NEW_DATA_FILE = process.argv[3] || false;

let library_failure_threshold = 75;
const package_warn_threshold = 0;

if (!BASE_DATA_FILE) {
BASE_DATA_FILE = './current-data.json';
}
Expand Down

0 comments on commit 96f871a

Please sign in to comment.