Skip to content

Safe string class (#85) #211

Safe string class (#85)

Safe string class (#85) #211

Workflow file for this run

name: Tests
on: [push]
jobs:
tests:
runs-on: ubuntu-20.04
services:
clickhouse:
image: clickhouse/clickhouse-server:22.3.7.28
ports:
- 8124:8123
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
- name: Tests
run: |
npm ci
npm run static
npm run test -- --collectCoverage
echo "Check we are starting with clean git checkout"
if [ -n "$(git status -uno -s)" ]; then echo "git status is not clean"; false; fi
echo "Checking that it was built by building"
rm -rf docs/api/ && rm -rf docs/examples
npm run md
echo "Check that build was unnecessary"
if [ -n "$(git status -uno -s)" ]; then echo -e "!!! Unbuilt files."; false; fi