Skip to content

fix(docs): typo in FAQ (#299) #398

fix(docs): typo in FAQ (#299)

fix(docs): typo in FAQ (#299) #398

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/install
- name: Packages
run: pnpm build
- name: Examples
run: pnpm --filter "./examples/**" --parallel build
bundlesize:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/install
- run: pnpm bundlesize
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/install
- run: pnpm check
examples:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: github.event_name == 'pull_request' && github.actor_id == '7349341'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/install
- run: pnpm -rc --filter="./examples/**" exec -- pwd | awk -F/ '{print $NF}' > TMP_EXAMPLES.txt
- name: Generate Examples Comment
env:
BRANCH: ${{ github.event.pull_request.head.ref }}
run: >
{
echo "**The latest updates to examples.**";
echo "";
echo "| Name | StackBlitz |";
echo "|:---------|:------------|";
while IFS= read -r id || [[ -n "$id" ]];
do echo "| **$id** | [Visit StackBlitz](https://stackblitz.com/github/joe-bell/cva/tree/${BRANCH}/examples/${id}) |";
done;
} < TMP_EXAMPLES.txt > TMP_EXAMPLES.md
- uses: marocchino/sticky-pull-request-comment@v2
with:
header: "Examples"
recreate: true
path: TMP_EXAMPLES.md
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/install
- run: pnpm lint
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/install
- run: pnpm prettier --check .
syncpack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/install
- run: pnpm syncpack
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/install
- run: pnpm test