Skip to content

fix: remove rejected channel query promises from channel query lock (… #6791

fix: remove rejected channel query promises from channel query lock (…

fix: remove rejected channel query promises from channel query lock (… #6791

Workflow file for this run

name: Test
on: [push]
env:
NODE_OPTIONS: --max_old_space_size=4096
jobs:
tsc:
runs-on: ubuntu-latest
name: Typescript
steps:
- uses: actions/checkout@v3
- name: πŸ’Ύ Cache Dependencies
uses: actions/cache@v3
with:
path: ./node_modules
key: ${{ runner.os }}-${{ matrix.node }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: πŸ”¨ Install Dependencies
run: yarn install --frozen-lockfile --ignore-engines --ignore-scripts
- name: πŸ§ͺ tsc
run: yarn types --noEmit
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18]
name: Test with Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: πŸ’Ύ Cache Dependencies
uses: actions/cache@v3
with:
path: ./node_modules
key: ${{ runner.os }}-${{ matrix.node }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: πŸ”¨ Install Dependencies & Build
run: |
yarn install --frozen-lockfile --ignore-engines
yarn build
- name: πŸ§ͺ Lint and Test with ${{ matrix.node }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
yarn lint
yarn coverage
yarn validate-translations
- name: πŸ§ͺ Validate CommonJS bundle with ${{ matrix.node }}
run: yarn validate-cjs