Skip to content

Commit

Permalink
Prevent parallel builds
Browse files Browse the repository at this point in the history
  • Loading branch information
phensley committed Oct 18, 2024
1 parent b89a088 commit 0a8a7c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
- name: Build
run: |
yarn
yarn clean
yarn lint
yarn api
yarn clean:ci
yarn lint:ci
yarn api:ci
- name: Test
run: yarn test
run: yarn test:ci

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,25 @@
"license": "Apache-2.0",
"scripts": {
"api": "lerna run api --stream",
"api:ci": "lerna run api --concurrency 1",
"api:local": "lerna run api:local --stream",
"bench": "lerna run --stream --concurrency=1 bench",
"bootstrap": "lerna bootstrap",
"build": "lerna run build --stream",
"build:ci": "lerna run --concurrency 1 build",
"build:watch": "lerna exec --parallel -- tsc -w --preserveWatchOutput",
"build:es:watch": "lerna exec --parallel -- tsc -w --preserveWatchOutput --module esnext --outDir lib-es",
"clean": "lerna run --parallel clean && rimraf ./coverage && jest --clearCache",
"clean:ci": "lerna run --concurrency 1 clean && rimraf ./converage && jest --clearCache",
"clean:full": "lerna run --parallel clean:full && rimraf ./node_modules yarn.lock",
"depgraph": "depcruise -T dot -x tslib packages/cldr/src | dot -T pdf > depgraph.pdf",
"format": "lerna exec --stream -- eslint --no-error-on-unmatched-pattern --fix \"'{src,tztool,__benchmarks__,__stress__,__tests__}/**/*.ts'\"",
"link-all": "lerna exec --concurrency=1 yarn link",
"lint": "lerna run build --stream && lerna run build:lint --stream && lerna run lint --no-bail --stream",
"lint:ci": "lerna run build --concurrency 1 && lerna run build:lint --concurrency 1 && lerna run lint --no-bail --concurrency 1",
"stress": "lerna run --stream --concurrency=1 stress",
"test": "rimraf ./coverage && TZ=America/New_York jest --coverage --verbose -i --no-cache",
"test:ci": "rimraf ./coverage && TZ=America/New_York jest --coverage --verbose -i --no-cache --maxConcurrency 1",
"test:runtime": "rimraf ./coverage && TZ=America/New_York jest --coverage --verbose -i --no-cache --coveragePathIgnorePatterns=\"packages/cldr-(ext-rbnf|compiler|types)/.*\"",
"test:codecov": "rimraf ./coverage && TZ=America/New_York jest --coverage --coverageReporters=lcovonly --verbose -i --no-cache",
"test:watch": "TZ=America/New_York jest --watch --runInBand --no-cache",
Expand Down

0 comments on commit 0a8a7c0

Please sign in to comment.