Skip to content

test: add "reliability" test #1443

test: add "reliability" test

test: add "reliability" test #1443

Workflow file for this run

name: CI
on:
- push
- pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
name: Lint and Test with Node.js ${{ matrix.node }} on ${{ matrix.os }}
strategy:
matrix:
bun:
- latest
node:
- 18
- 18.18
- 20
- 22
- 23
os:
- macos-latest
- ubuntu-latest
- windows-latest
fail-fast: false
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
- uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ matrix.bun }}
- name: Install Dependencies
run: |
yarn --immutable
cd test/fixtures/yarn-pnp
yarn --immutable
cd ../bun
bun i --frozen-lockfile
- name: Build and Test
run: |
yarn build
yarn test
env:
SYNCKIT_TIMEOUT: 10000
- name: Lint
run: yarn lint
# eslint-plugin-unicorn using `with` syntax is not supported
if: ${{ matrix.node != 18 && matrix.node != 18.18 }}
env:
EFF_NO_LINK_RULES: true
PARSER_NO_WATCH: true
- name: Benchmark
run: yarn benchmark
- name: Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}