Skip to content

Extract workflows from build job to new lint and test jobs #6

Extract workflows from build job to new lint and test jobs

Extract workflows from build job to new lint and test jobs #6

Workflow file for this run

name: Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
test:

Check failure on line 10 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: 10, Col: 3): The workflow must contain at least one job with no dependencies.
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: latest
- name: Install dependencies
run: npm ci
- name: Test
run: npm test