Skip to content

Commit eb3f674

Browse files
committed
v1.0.1: Clean up repository structure and improve CI
- Remove unnecessary Biome configuration and dependencies - Remove TypeScript config (not needed for composite action) - Add actionlint for GitHub Actions workflow validation - Simplify CI pipeline to focus on workflow linting and action testing - Add @ts-nocheck to example files for better IDE experience - Clean up package.json scripts and dependencies
1 parent e8d1b9d commit eb3f674

File tree

4 files changed

+11
-77
lines changed

4 files changed

+11
-77
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,22 @@ on:
77
branches: [main]
88

99
jobs:
10-
lint:
11-
name: Lint
10+
lint-workflows:
11+
name: Lint Workflows
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v4
1616

17-
- name: Setup pnpm
18-
uses: pnpm/action-setup@v4
19-
with:
20-
version: 10
21-
22-
- name: Setup Node.js
23-
uses: actions/setup-node@v4
24-
with:
25-
node-version: 22
26-
cache: pnpm
27-
28-
- name: Install dependencies
29-
run: pnpm install
30-
31-
- name: Run Biome
32-
run: pnpm run check
17+
- name: Run actionlint
18+
run: |
19+
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
20+
./actionlint
3321
3422
test-action:
3523
name: Test Action
3624
runs-on: ubuntu-latest
37-
needs: lint
25+
needs: lint-workflows
3826
steps:
3927
- name: Checkout
4028
uses: actions/checkout@v4

biome.json

Lines changed: 0 additions & 45 deletions
This file was deleted.

examples/with-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
// @ts-nocheck - This is an example file, package would be installed by users
12
/**
23
* Example using github-typescript-utils
34
* This demonstrates how to use the utility package with github-typescript
45
*/
5-
66
import {
77
createStickyComment,
88
getRepoInfo,

package.json

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "github-typescript",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Build TypeScript scripts and run them via actions/github-script",
55
"private": false,
66
"keywords": [
@@ -20,17 +20,8 @@
2020
"bugs": {
2121
"url": "https://github.com/tkstang/github-typescript/issues"
2222
},
23-
"scripts": {
24-
"lint": "biome lint .",
25-
"lint:fix": "biome lint --write .",
26-
"format": "biome format .",
27-
"format:fix": "biome format --write .",
28-
"check": "biome check .",
29-
"check:fix": "biome check --write ."
30-
},
31-
"devDependencies": {
32-
"@biomejs/biome": "^2.1.1"
33-
},
23+
"scripts": {},
24+
"devDependencies": {},
3425
"packageManager": "pnpm@10.13.1",
3526
"engines": {
3627
"node": ">=22.17.0",

0 commit comments

Comments
 (0)