mirror of
https://github.com/littensy/charm.git
synced 2026-10-20 17:51:37 +00:00
refactor!: migrate to monorepo (#23)
* refactor!: create monorepo * chore: prepare release, set up workflows * refactor: rename `modules` to `src` * docs: add docs for all packages * refactor: rename root project file * chore: bump deps * build: rename `lint`, add `pack` script * revert: delete pack script This will not be useful for development.
This commit is contained in:
parent
b038bf1f70
commit
08c7e690d5
81 changed files with 917 additions and 570 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
|
@ -22,15 +22,10 @@ jobs:
|
|||
uses: CompeyDev/setup-rokit@v0.1.2
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pnpm install
|
||||
pnpm wally
|
||||
run: pnpm install
|
||||
|
||||
- name: Check code quality
|
||||
run: pnpm lint
|
||||
run: pnpm check
|
||||
|
||||
- name: Run ESLint
|
||||
run: pnpm eslint
|
||||
|
||||
- name: Build model
|
||||
run: rojo build -o charm.rbxm
|
||||
- name: Build models
|
||||
run: pnpm build
|
||||
|
|
|
|||
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
|
|
@ -16,10 +16,17 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: wally install
|
||||
|
||||
- name: Build model
|
||||
run: rojo build -o charm.rbxm
|
||||
- name: Build models
|
||||
run: pnpm build
|
||||
|
||||
- uses: AButler/upload-release-assets@v3.0
|
||||
- name: Upload release assets
|
||||
uses: AButler/upload-release-assets@v3.0
|
||||
with:
|
||||
files: "charm.rbxm"
|
||||
files: "build/*"
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Publish to NPM
|
||||
run: pnpm --recursive publish --access public
|
||||
|
||||
- name: Publish to Wally
|
||||
run: pnpm --recursive publish:wally
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue