Accept undefined in setLastTxnTs input but treat it as a no-op. This resolves typescript compilation errors while maintaining current behavior #397
Workflow file for this run
This file contains 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: Validate Driver | |
on: | |
pull_request: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
services: | |
core: | |
image: fauna/faunadb:latest | |
ports: | |
- 8443:8443 | |
alt_core: | |
image: fauna/faunadb:latest | |
ports: | |
- 7443:8443 | |
strategy: | |
matrix: | |
node: ["18", "20"] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "yarn" | |
- name: Test | |
uses: borales/actions-yarn@v4 | |
with: | |
cmd: "test:ci" | |
- name: Test Report | |
uses: dorny/test-reporter@v1 | |
if: success() || failure() | |
with: | |
name: Jest Tests ${{ matrix.node }} | |
path: reports/jest-*.xml | |
reporter: jest-junit |