Skip to content

Bump typescript from 5.3.3 to 5.4.3 in /test/servers (#176) #694

Bump typescript from 5.3.3 to 5.4.3 in /test/servers (#176)

Bump typescript from 5.3.3 to 5.4.3 in /test/servers (#176) #694

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
run: |
sudo apt-get -q update
sudo apt-get -q install -y jq zip unzip curl
git fetch --tags origin
- name: Tests
run: |
./test/suite/test.sh "$PWD"
- name: Check Docs
run: |
./doc/generate-docs.sh "$PWD"
# "Only a single line diff in EXMAPLES.md is allowed due to non-constant HTTP Date Header."
EXPECTED_DIFF="$(echo -e "1\t1\tEXAMPLES.md")"
# We need to use tabs here, as otherwise the test below would fail.
if [ "$(git diff --numstat 2>/dev/null)" == "$EXPECTED_DIFF" ]; then
echo "Docs are up to date."
else
echo "The autogenerated docs are not up to date. Generated docs are different from what is commited."
echo "Please run "
echo " doc/generate-docs.sh \"\$PWD\""
echo "locally, inspect the diff and commit them if they are OK."
echo "================ Git Diff (short) =================="
git diff --numstat
echo "================ Git Diff (long) =================="
git diff
exit 1
fi