Skip to content

Lint

Lint #85

Workflow file for this run

name: Lint
on:
push:
workflow_dispatch:
schedule:
- cron: 00 12 * * * # 1 hour before Dependabot
permissions: write-all
jobs:
format:
name: Format
if: ${{ always() }} && startsWith(github.ref_name, 'dependabot/') != true
runs-on: ubuntu-20.04
needs: bump

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

View workflow run for this annotation

GitHub Actions / Lint

Invalid workflow file

The workflow is not valid. .github/workflows/lint.yml (Line: 15, Col: 16): Job 'format' depends on unknown job 'bump'.
steps:
- name: Checkout
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
- name: Setup Node.JS
uses: actions/[email protected]
with:
node-version: "18.12.1"
cache: npm
- name: Install
run: npm ci
- name: Format
run: npm run format
- name: Commit
uses: stefanzweifel/[email protected]
with:
commit_message: Format
branch: ${{ github.head_ref }}
analyze:
name: Analyze
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
- name: Setup CodeQL
uses: github/codeql-action/[email protected]
with:
languages: javascript
queries: security-and-quality
- name: Analyze
uses: github/codeql-action/analyze@v2
build:
name: Build
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
- name: Setup Node.JS
uses: actions/[email protected]
with:
node-version: "18.12.1"
cache: npm
- name: Install
run: npm ci
- name: Build
run: npm run build