Skip to content

Commit

Permalink
chore: don't manage templates as workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
r4ai committed Apr 11, 2024
1 parent f429479 commit 015ea93
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
23 changes: 22 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

jobs:
ci:
packages-ci:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -25,3 +25,24 @@ jobs:

- name: Test
run: bun run test:ci

bun-npm-package-ci:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Bun and Node.js
uses: jdx/mise-action@v2

- name: Install dependencies
working-directory: templates/bun-npm-package
run: bun install --frozen-lockfile

- name: Build
working-directory: templates/bun-npm-package
run: bun run build

- name: Test
working-directory: templates/bun-npm-package
run: bun run test:ci
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"prepare": "lefthook install",
"prepublishOnly": "bun run build"
},
"workspaces": ["templates/*", "packages/*"],
"workspaces": ["packages/*"],
"devDependencies": {
"@biomejs/biome": "^1.6.4",
"@changesets/changelog-github": "^0.5.0",
Expand Down
Binary file added templates/bun-npm-package/bun.lockb
Binary file not shown.

0 comments on commit 015ea93

Please sign in to comment.