export separate getSessionId outside of helpers #815
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: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| ci: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| deno: | |
| - v1.x | |
| - canary | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| - macOS-latest | |
| steps: | |
| - name: Setup repo | |
| uses: actions/checkout@v4 | |
| - name: Setup Deno | |
| uses: denoland/setup-deno@v2 | |
| with: | |
| deno-version: ${{ matrix.deno }} | |
| - name: Check typos | |
| if: matrix.os == 'ubuntu-latest' | |
| uses: crate-ci/typos@master | |
| with: | |
| config: .github/_typos.toml | |
| - name: Check formatting, linting, types and run tests | |
| run: deno task ok | |
| - name: Publish (dry-run) | |
| run: deno publish --dry-run --allow-dirty | |
| - name: Create lcov file | |
| run: deno task cov:gen | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| name: ${{ matrix.os }} | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: cov.lcov |