Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sc-switch divider #16

Merged
merged 26 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ scripts/previewEditor/**/*
jest-stare
.eslintrc.js
.eslintcache
.turbo
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [18, 20, 21, 22]
node_version: [18, 20,]
include:
# Active LTS + other OS
- os: macos-latest
Expand All @@ -50,7 +50,7 @@ jobs:
files: |
docs/**
.github/**
!.github/workflows/ci.yml
!.github/workflows/ci.yml
**.md

- name: Install pnpm
Expand Down Expand Up @@ -99,28 +99,28 @@ jobs:
- name: Install deps
run: pnpm install

- name: Build
run: pnpm run build
# - name: Build
# run: pnpm run build

- name: Lint
run: pnpm run lint

- name: Check formatting
run: pnpm prettier --check .
run: pnpm run format-check

- name: Typecheck
run: pnpm run typecheck

- name: Dead links
run: |
cd docs
npm i -g markdown-link-check
for file in $(find . -name "*.md"); do
markdown-link-check -c .dlc.json -q "$file"
done

- name: Test docs
run: pnpm run test-docs
# - name: Dead links
# run: |
# cd docs
# npm i -g markdown-link-check
# for file in $(find . -name "*.md"); do
# markdown-link-check -c .dlc.json -q "$file"
# done

# - name: Test docs
# run: pnpm run test-docs

# From https://github.com/rhysd/actionlint/blob/main/docs/usage.md#use-actionlint-on-github-actions
- name: Check workflow files
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ components/*/*.jsx
.eslintignore
.history
**/*.yml
.turbo
10 changes: 2 additions & 8 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@
"trailingComma": "all",
"printWidth": 100,
"proseWrap": "never",
"importOrder": [
"^([a-z]|@[a-z])",
"",
".*"
],
"plugins": [
"@ianvs/prettier-plugin-sort-imports"
],
"importOrder": ["^([a-z]|@[a-z])", "", ".*"],
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
"overrides": [
{
"files": ".prettierrc",
Expand Down
Loading