Skip to content

Commit

Permalink
Remove CI job number
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Jan 18, 2023
1 parent af6a666 commit 4f5c8b8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions packages/size-limit/bin.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
#!/usr/bin/env node

let ciJobNumber = require('ci-job-number')
let { yellow } = require('picocolors')

if (ciJobNumber() !== 1) {
process.stderr.write(
yellow('Size Limit runs only on first CI job, to save CI resources\n')
)
process.exit(0)
}

require('./run.js')(process)
1 change: 0 additions & 1 deletion packages/size-limit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"dependencies": {
"bytes-iec": "^3.1.1",
"chokidar": "^3.5.3",
"ci-job-number": "^1.2.2",
"globby": "^11.1.0",
"lilconfig": "^2.0.6",
"nanospinner": "^1.1.0",
Expand Down

0 comments on commit 4f5c8b8

Please sign in to comment.