chore: add @ts-ignore for access private method
#104
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| node-version: ['22.x'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| - name: Install Dependencies | |
| run: npm install | |
| - name: Compile TypeScript | |
| run: npm run compile | |
| - name: Run headless tests - specific version | |
| uses: coactions/setup-xvfb@v1 | |
| with: | |
| run: npm run test:minSupportVersion | |
| - name: Run headless tests - latest version | |
| uses: coactions/setup-xvfb@v1 | |
| with: | |
| run: npm run test:latest | |
| # - name: Run headless tests - legacy version | |
| # uses: coactions/setup-xvfb@v1 | |
| # with: | |
| # run: npm run test:legacy |