Skip to content

ci: add default SYNCKIT_TIMEOUT‎ on testing #815

ci: add default SYNCKIT_TIMEOUT‎ on testing

ci: add default SYNCKIT_TIMEOUT‎ on testing #815

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
ci:
name: Lint and Test with Node.js ${{ matrix.node }} on ${{ matrix.os }}
strategy:
matrix:
node:
- 16
- 18
- 20
os:
- macos-latest
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: yarn
- name: Install Dependencies
run: yarn --frozen-lockfile --ignore-engines
- name: Build, Lint and Test
run: yarn cross-env SYNCKIT_TIMEOUT=10000 run-s build lint test
env:
EFF_NO_LINK_RULES: true
PARSER_NO_WATCH: true
- name: Benchmark
run: yarn benchmark
continue-on-error: ${{ matrix.os == 'windows-latest' }}
- name: Codecov
uses: codecov/codecov-action@v3