Skip to content

separate deps, create setup-job shared action #1

separate deps, create setup-job shared action

separate deps, create setup-job shared action #1

Workflow file for this run

name: CI
on:
pull_request:
branches:
- '**'
push:
branches:
- 'main'
concurrency:
group: ci-${{ github.sha }}
cancel-in-progress: true
permissions:
contents: read
jobs:
eslint:
name: Lint - ESLint
runs-on: ubuntu-latest
steps:
- name: Setup Job
id: setup-job
uses: .github/actions/setup-job.yml
- name: Lint
id: lint
run: |
npm run lint:eslint
editorconfig:
name: Lint - EditorConfig
runs-on: ubuntu-latest
steps:
- name: Setup Job
id: setup-job
uses: .github/actions/setup-job.yml
- name: Lint
id: lint
run: npm run lint:ec
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Setup Job
id: setup-job
uses: .github/actions/setup-job.yml
- name: Tests
id: tests
run: npm run test:ci