Skip to content

Run tests on Node 18 and 20 #16

Run tests on Node 18 and 20

Run tests on Node 18 and 20 #16

Workflow file for this run

name: Test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
STREAM_API_KEY: ${{ vars.TEST_API_KEY }}
STREAM_SECRET: ${{ secrets.TEST_SECRET }}
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
test-and-build:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: [18, 20]

Check failure on line 26 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 26, Col: 25): A sequence was not expected
cache: "yarn"
- name: Install Dependencies
run: yarn install --immutable
- name: Build
run: yarn build
- name: Test
run: yarn test