diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..6c8b42e --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,31 @@ +name: Tests + +on: + push: + branches-ignore: + - development/** + - q/*/** + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - name: Checkokut + uses: actions/checkout@v4 + - name: Install deps + run: sudo apt-get update -q + - uses: actions/setup-node@v4 + with: + node-version: '16' + - name: Install Yarn + run: npm install -g yarn + - name: install dependencies + run: yarn install --frozen-lockfile + - name: run lint + run: echo "linter is disabled temporarily ()" || yarn run --silent lint -- --max-warnings 0 + - name: run lint_md + run: yarn --silent lint_md + - name: run test + run: yarn test + - name: run coverage + run: yarn coverage