Skip to content

Minor fix to github actions #4

Minor fix to github actions

Minor fix to github actions #4

Workflow file for this run

name: Tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
uses: actions/setup-node@v4

Check failure on line 20 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 20, Col: 7): 'uses' is already defined .github/workflows/tests.yml (Line: 24, Col: 7): Unexpected value 'run'

Check failure on line 20 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 20, Col: 7): 'uses' is already defined .github/workflows/tests.yml (Line: 24, Col: 7): Unexpected value 'run'
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
run: |
yarn install --silent --non-interactive
yarn test