mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 13:36:31 +02:00
run CI with node:15
This commit is contained in:
parent
7adc53f872
commit
86fff55608
1 changed files with 1 additions and 1 deletions
2
.github/workflows/package-pr.yaml
vendored
2
.github/workflows/package-pr.yaml
vendored
|
@ -126,7 +126,7 @@ jobs:
|
||||||
do
|
do
|
||||||
TEST_RUNTIME=$(awk -F. '{print $2}' <<< $(basename $tscript))
|
TEST_RUNTIME=$(awk -F. '{print $2}' <<< $(basename $tscript))
|
||||||
echo Running $tscript with runtime=$TEST_RUNTIME
|
echo Running $tscript with runtime=$TEST_RUNTIME
|
||||||
docker run --network container:api -v "$PWD/cli:/app" -v "$PWD/$(dirname $tscript):/pkg" npx ts-node /app/src/index.ts run $TEST_RUNTIME -l $PKG_VERSION /pkg/$(basename $tscript) > test_output
|
docker run --network container:api -v "$PWD/cli:/app" -v "$PWD/$(dirname $tscript):/pkg" node:15 /app/src/index.ts run $TEST_RUNTIME -l $PKG_VERSION /pkg/$(basename $tscript) > test_output
|
||||||
cat test_output
|
cat test_output
|
||||||
grep "OK" test_output
|
grep "OK" test_output
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue