Skip to content

doc/ci: update README.md and basic ci #1

doc/ci: update README.md and basic ci

doc/ci: update README.md and basic ci #1

Workflow file for this run

name: CI
on:
push:
branches:
- main
- gh-*
pull_request: {}
workflow_dispatch: {}
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: |
yarn install --frozen-lockfile
- name: Run ESLint
run: |
yarn lint
eco_check:
name: eco/check
if: always()
needs: [lint]
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
with:
jobs: ${{ toJSON(needs) }}