Skip to content

[WIP]: add values and notValues actions #1628

[WIP]: add values and notValues actions

[WIP]: add values and notValues actions #1628

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_call:
jobs:
install:
name: Install packages
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: ./.github/actions/pnpm
library_build:
name: Build and publish library
needs: install
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: ./.github/actions/pnpm
- name: Build
run: pnpm build
working-directory: library
- name: Publish
run: pnpx pkg-pr-new publish --compact --comment=update --pnpm
working-directory: library
library_prettier:
name: Run Prettier in library
needs: install
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: ./.github/actions/pnpm
- name: Prettier check
run: pnpm format.check
working-directory: library
library_eslint:
name: Run ESLint in library
needs: install
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: ./.github/actions/pnpm
- name: ESLint check
run: pnpm lint
working-directory: library
library_vitest:
name: Run Vitest in library
needs: install
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: ./.github/actions/pnpm
- name: Vitest tests
run: pnpm test
working-directory: library
to_json_schema_prettier:
name: Run Prettier in packages/to-json-schema
needs: install
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: ./.github/actions/pnpm
- name: Prettier check
run: pnpm format.check
working-directory: packages/to-json-schema
to_json_schema_eslint:
name: Run ESLint in packages/to-json-schema
needs: install
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: ./.github/actions/pnpm
- name: ESLint check
run: pnpm lint
working-directory: packages/to-json-schema
to_json_schema_vitest:
name: Run Vitest in packages/to-json-schema
needs: install
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: ./.github/actions/pnpm
- name: Vitest tests
run: pnpm test
working-directory: packages/to-json-schema
website_prettier:
name: Run Prettier in website
needs: install
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: ./.github/actions/pnpm
- name: Prettier check
run: pnpm format.check
working-directory: website
website_eslint:
name: Run ESLint in website
needs: install
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: ./.github/actions/pnpm
- name: ESLint check
run: pnpm lint
working-directory: website