Skip to content

fix github action

fix github action #4

Workflow file for this run

name: Jest
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- main
env:
WORKING_DIRECTORY: .
jobs:
build:
reuns-on: ubuntu-latest

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

View workflow run for this annotation

GitHub Actions / Jest

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 15, Col: 5): Unexpected value 'reuns-on' .github/workflows/test.yml (Line: 15, Col: 5): Required property is missing: runs-on
strategy:
matrix:
node-version: [18.12.1]
steps:
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
with:
path: ~/.npm
- name: Install dependencies
run: npm ci
- name: Run Jest
run: npm run test -- --ci --passWithNoTests