Skip to content

Commit

Permalink
ci: up
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed May 16, 2024
1 parent 1eda622 commit 1261c6d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1,648 deletions.
7 changes: 2 additions & 5 deletions .github/actions/install-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,14 @@ runs:
using: "composite"
steps:
- name: Set up pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4

- name: Set up Node
uses: actions/setup-node@v3
with:
cache: pnpm
node-version: 20

- name: Set up Bun
uses: oven-sh/setup-bun@v1

- name: Install dependencies
shell: bash
run: pnpm install
run: pnpm install
1 change: 1 addition & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:

- name: Install dependencies
uses: ./.github/actions/install-dependencies
- run: pnpm gen:icons && pnpm gen:protobufs && pnpm preconstruct

- name: Setup Node
uses: actions/setup-node@v4
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ coverage
create-frog/templates
node_modules
site/dist
src/protobufs/**
src/ui/.frog
src/ui/icons/**
!src/ui/icons/package.json
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dev:cli": "node --import tsx src/cli/index.ts",
"dev:create-frog": "bun create-frog/bin.ts",
"dev:ui": "pnpm --filter ui build --watch",
"build": "pnpm clean && pnpm gen:icons && pnpm protobufs:generate && pnpm build:frog && pnpm build:ui && pnpm build:create-frog && bun .scripts/postbuild.ts",
"build": "pnpm clean && pnpm gen:icons && pnpm gen:protobufs && pnpm build:frog && pnpm build:ui && pnpm build:create-frog && bun .scripts/postbuild.ts",
"build:frog": "tsc --project ./tsconfig.build.json",
"build:create-frog": "rimraf create-frog/_lib && tsc -p create-frog/tsconfig.build.json",
"build:ui": "pnpm --filter ui build",
Expand All @@ -19,9 +19,9 @@
"format": "biome format . --write",
"lint": "biome check . --apply-unsafe",
"gen:icons": "bun .scripts/gen-icons.ts",
"postinstall": "pnpm build && pnpm preconstruct && pnpm gen:icons",
"gen:protobufs": "pnpm --filter protobufs generate",
"postinstall": "pnpm build && pnpm preconstruct",
"preconstruct": "bun .scripts/preconstruct.ts",
"protobufs:generate": "pnpm --filter protobufs generate",
"test": "vitest",
"typecheck": "tsc --noEmit && pnpm run --r --parallel typecheck"
},
Expand Down
Loading

0 comments on commit 1261c6d

Please sign in to comment.