File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
integration-tests/js-compute Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,14 @@ test="$1"
11
11
12
12
cd " $( dirname " ${BASH_SOURCE[0]} " ) "
13
13
14
- npm install -s
14
+ npm ci -s
15
15
16
16
if [ -f " fixtures/$test /$test .ts" ]; then
17
- npm run -s build:test --test=" $test "
17
+ # TODO: we explicitly ignore errors from webpack, as the tests includes uses
18
+ # of apis that are not yet typed by /sdk/js-compute/index.t.ts
19
+ npm run webpack -- " ./fixtures/$test /$test .ts" \
20
+ --output-path " ./fixtures/$test " \
21
+ --output-filename " $test .js" || true
18
22
else
19
23
echo " Skipping typescript conversion for fixtures/$test /$test .js"
20
24
fi
Original file line number Diff line number Diff line change 1
1
{
2
2
"scripts" : {
3
3
"install:ci" : " npm ci" ,
4
- "build:test " : " base=$npm_config_test; webpack \" ./fixtures/$base/$base.ts \" --output-path \" ./fixtures/$base \" --output-filename \" $base.js \" ; true " ,
4
+ "webpack " : " webpack" ,
5
5
"lint" : " npx prettier --write ./fixtures/**/*.ts"
6
6
},
7
7
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments