Skip to content

We don't need no linters #2

We don't need no linters

We don't need no linters #2

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: ci
jobs:
release:

Check failure on line 8 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 8, Col: 3): The workflow must contain at least one job with no dependencies.
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: [test, lint]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm install
- run: npm run publish
env:
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}