Skip to content

Commit

Permalink
Merge branch 'main' into feat/typesafe-object-mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
mew-ton committed Feb 5, 2024
2 parents db349d7 + 7d5cdbb commit 9bef0ce
Show file tree
Hide file tree
Showing 57 changed files with 4,494 additions and 3,684 deletions.
5 changes: 1 addition & 4 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "hacomono-lib/json-origami" }
],
"changelog": ["@changesets/changelog-github", { "repo": "hacomono-lib/json-origami" }],
"commit": false,
"access": "restricted",
"baseBranch": "main",
Expand Down
18 changes: 0 additions & 18 deletions .eslintignore

This file was deleted.

213 changes: 0 additions & 213 deletions .eslintrc.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .github/actions/build-and-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ runs:
steps:
- name: cache and restore "build result"
id: cache_build_results
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./dist
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/init-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:

- name: cache node_modules
id: cache_node_modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./.yarn/cache
Expand Down
3 changes: 2 additions & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"github>hacomono-lib/renovate-config:npm-lockfile",
"github>hacomono-lib/renovate-config:github-actions",
"github>hacomono-lib/renovate-config:pre-commit"
]
],
"platformAutomerge": true
}
49 changes: 49 additions & 0 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
name: Codspeed Benchmarks
run-name: |-
github.event_name == 'pull_request' &&
"Test on ${{ github.event.pull_request.title }} by ${{ github.actor }}" ||
"Test on main"
permissions:
contents: read
packages: read
pull-requests: write

on:
push:
branches:
- "main"
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- ".github/workflows/codspeed.yml"
- ".gitignore"
- "src/**"
- "test/**"
- "package.json"
- "vitest.config.ts"
- "yarn.lock"

jobs:
init__node:
if: |
!contains(github.event.pull_request.labels.*.name, 'renovate') && github.event.pull_request.title != 'Version Packages'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/init-node

benchmarks:
runs-on: ubuntu-latest
needs:
- init__node
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/init-node

- name: Run benchmarks
uses: CodSpeedHQ/action@v2
with:
run: yarn bench
token: ${{ secrets.CODSPEED_TOKEN }}
30 changes: 30 additions & 0 deletions .github/workflows/lint__codebase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Lint Code Base (Biome)
run-name: "Lint code base (Biome) on \"${{ github.event.pull_request.title }}\" by ${{ github.actor }}"

permissions:
contents: read
packages: read
pull-requests: write

on:
pull_request:
types: [opened, synchronize]

jobs:
biome:
if: |
!contains(github.event.pull_request.labels.*.name, 'renovate')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: ./.github/actions/init-node

- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: latest

- name: Run Biome
run: biome ci .
31 changes: 0 additions & 31 deletions .github/workflows/lint__es.yml

This file was deleted.

Loading

0 comments on commit 9bef0ce

Please sign in to comment.