Skip to content

ci(test): removed specific node version #2

ci(test): removed specific node version

ci(test): removed specific node version #2

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: ${{ matrix.node }}

Check failure on line 21 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: 21, Col: 11): 'node-version' is already defined
- name: Install dependencies
run: npm ci
- run: npm run build:playground
- name: Install playground
run: npm ci
working-directory: ./playground
- name: Build playground
run: npm run build
working-directory: ./playground
- name: Test step
run: npm run test