Skip to content

Commit

Permalink
Cherry-pick #2923 to 1.x LTS (#2930)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyashton committed Sep 14, 2021
1 parent 23da7fa commit 4a27551
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .azure-pipelines-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ trigger:
- main
- "refs/tags/ccf-*"

pr:
batch: true
branches:
include:
- main

jobs:
- job: build_and_publish_docs
container: ccfciteam/ccf-ci:oe0.17.1-focal
Expand Down
2 changes: 1 addition & 1 deletion js/ccf-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"serve": "^11.3.2",
"ts-node": "^9.1.1",
"typedoc": "^0.20.34",
"typescript": "^4.2.3"
"typescript": "4.2.4"
}
}
7 changes: 5 additions & 2 deletions tests/js-modules/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,11 @@ def test_npm_app(network, args):

LOG.info("Building npm app")
app_dir = os.path.join(PARENT_DIR, "npm-app")
subprocess.run(["npm", "install"], cwd=app_dir, check=True)
subprocess.run(["npm", "run", "build"], cwd=app_dir, check=True)
assert infra.proc.ccall("npm", "install", path=app_dir).returncode == 0
assert (
infra.proc.ccall("npm", "run", "build", "--verbose", path=app_dir).returncode
== 0
)

LOG.info("Deploying npm app")
bundle_dir = os.path.join(app_dir, "dist")
Expand Down
2 changes: 1 addition & 1 deletion tests/npm-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"http-server": "^0.12.3",
"rollup": "^2.41.0",
"tslib": "^2.0.1",
"typescript": "^4.2.0"
"typescript": "4.2.4"
}
}

0 comments on commit 4a27551

Please sign in to comment.