Skip to content

config: write unified github workflows #151

config: write unified github workflows

config: write unified github workflows #151

Workflow file for this run

name: lint
on:

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

View workflow run for this annotation

GitHub Actions / .github/workflows/lint.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
lint-components:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/components
steps:
- uses: actions/checkout@v4
- name: set node version
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci
- run: npm run lint
lint-embed:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/embed
steps:
- uses: actions/checkout@v4
- name: set node version
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci
- run: npm run lint:html