Skip to content

adding tests

adding tests #1

Workflow file for this run

name: Projects test
on:
push:
pull_request:
workflow_dispatch:
jobs:
game_of_life:
matrix:

Check failure on line 10 in .github/workflows/workflow-test.yml

View workflow run for this annotation

GitHub Actions / Projects test

Invalid workflow file

The workflow is not valid. .github/workflows/workflow-test.yml (Line: 10, Col: 5): Unexpected value 'matrix'
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
# setup node
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run:
cd assets/js/projects/game_of_life
npm install
- name: Run tests
run: npm test