Skip to content

Commit

Permalink
fix owlbot and system test
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl committed Oct 14, 2024
1 parent 1ddcbd3 commit 2a961f8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions owlbot.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import synthtool as s
import synthtool.gcp as gcp
import synthtool.languages.node as node
import logging

logging.basicConfig(level=logging.DEBUG)

node.owlbot_main(templates_excludes=["LICENSE", "README.md", ".github/ISSUE_TEMPLATE", ".github/scripts", ".kokoro", ".github/workflows/issues-no-repro.yaml", ".jsdoc.js"])
common_templates = gcp.CommonTemplates()
templates = common_templates.node_library()
s.copy(excludes=["LICENSE", "README.md", ".github/ISSUE_TEMPLATE", ".github/scripts", ".kokoro", ".github/workflows/issues-no-repro.yaml", ".jsdoc.js"])
2 changes: 1 addition & 1 deletion system-test/test.kitchen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('pack and install', () => {
await execa('npx', ['webpack'], {cwd: `${stagingPath}/`, stdio: 'inherit'});
const bundle = path.join(stagingPath, 'dist', 'bundle.min.js');
const stat = fs.statSync(bundle);
assert(stat.size < 300 * 1024);
assert(stat.size < 400 * 1024);
});

/**
Expand Down

0 comments on commit 2a961f8

Please sign in to comment.