Skip to content

Pre migration refactor | unit tests #1

Pre migration refactor | unit tests

Pre migration refactor | unit tests #1

Workflow file for this run

name: Corehub CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Setup Node.js environment
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
# Install dependencies
- name: Install dependencies
run: npm i
# Run linter
- name: Run Linter
run: npm run lint
# Check Prettier
- name: Check Prettier
run: npm run format
# Run tests
- name: Run Tests
run: npm run test
all:
needs: [build]

Check failure on line 39 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Corehub CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 39, Col: 13): Job 'all' depends on unknown job 'build'.
runs-on: ubuntu-latest
steps:
- run: echo Success