pulumi/pkg/codegen/nodejs
Thomas Gummerer b2740680cf
use yarn less in nodejs codegen tests (#15886)
Whenever yarn runs it holds a global lock, preventing any other yarn
process from running. Since our tests potentially try to run multiple
yarn processes in parallel, this reduces the potential for parallelism
in the tests dramatically.

By using `npm install` instead of `yarn install`, and runnig `tsc`
directly instead of using `yarn run`, the time to run this test goes
from >500s to ~90s when trying to run `nodejs/gen_program_test/batch1`.

Similar improvements can be expected from the other batches. This should
also help speed up CI, since this is part of the long tail of long
running tests.

This is another thing I noticed during the hackathon (running all tests
locally with bazel the difference was even more extreme).
2024-04-09 16:56:05 +00:00
..
gen_program_test Use `assert.NoError` rather than `assert.Nil` (#14233) 2023-10-13 09:46:07 +00:00
tstypes turn on the golangci-lint exhaustive linter (#15028) 2024-01-17 16:50:41 +00:00
doc.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
doc_test.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
gen.go Use the local artifacts, not released artifacts in conformance tests (#15777) 2024-03-26 13:10:34 +00:00
gen_fileinfo.go [codegen/node] Implement support for lazy-loaded Node modules (#10538) 2022-09-01 18:42:44 -04:00
gen_intrinsics.go Update error handling (#8406) 2021-11-12 18:37:17 -08:00
gen_lazyloads.go pkg/codegen/nodejs: Prefer contract.Assertf over Assert 2023-03-01 13:22:32 -08:00
gen_lazyloads_test.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
gen_program.go Run conformance tests with and without ts-node (#15809) 2024-03-28 15:44:25 +00:00
gen_program_expressions.go Test string outputs in conformance tests (#15823) 2024-03-29 14:24:29 +00:00
gen_program_lower.go Fixes parseProxyApply to handle nested outputs within index expressions 2023-08-07 21:08:54 +02:00
gen_program_test.go Run conformance tests with and without ts-node (#15809) 2024-03-28 15:44:25 +00:00
gen_program_utils.go [program-gen] Fix generated utility functions for filebase64, filebase64sha256, sha1 and mimeType (#14857) 2023-12-15 11:26:00 +00:00
gen_test.go Use the local artifacts, not released artifacts in conformance tests (#15777) 2024-03-26 13:10:34 +00:00
importer.go Remove 'pluginVersion' and 'pluginName' from nodejs schema options. 2023-08-08 12:19:06 +01:00
test.go use yarn less in nodejs codegen tests (#15886) 2024-04-09 16:56:05 +00:00
utilities.go pkg/codegen/nodejs: Prefer contract.Assertf over Assert 2023-03-01 13:22:32 -08:00
utilities.ts Support returning plain values from methods (#13592) 2023-11-18 06:02:06 +00:00
utilities_test.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00