-
Notifications
You must be signed in to change notification settings - Fork 7
Replace Rokit with Mise #251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
3a100ca
5317c36
9feaf4b
9babc18
30cab71
c7d4090
061057f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export ASPHALT_API_KEY= |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| # <type>(<scope>): <subject> | ||
| # | ||
| # <body> | ||
| # | ||
| # <footer> | ||
|
|
||
| # Type should be one of the following: | ||
| # * feat: a new feature | ||
| # * fix: a bug fix | ||
| # * docs: documentation only changes | ||
| # * style: changes that do not affect the meaning of the code | ||
| # * refactor: a code change that neither fixes a bug nor adds a feature | ||
| # * perf: a code change that improves performance | ||
| # * test: adding missing tests or correcting existing tests | ||
| # * build: changes that affect the build system or external dependencies | ||
| # * ci: changes to our ci configuration files and scripts | ||
| # * chore: other changes that don't modify src or test files | ||
| # * revert: reverts a previous commit | ||
| # | ||
| # Scope is optional, but should be one of the following: | ||
| # * assets: changes to assets (images, fonts, etc.) | ||
| # * audio: changes relating to sound or music | ||
| # * core: changes to the core game functionality | ||
| # * deps: changes to dependencies | ||
| # * dev: changes to the development environment | ||
| # * lint: changes that only affect linting such as auto-formatting | ||
| # * mtx: changes to monetization or in-game purchases | ||
| # | ||
| # Subject line rules: | ||
| # * Use imperative mood: "change" not "changed" nor "changes" | ||
| # * No dot (.) at the end | ||
| # * Limit to 72 characters | ||
| # * No capitilization in the subject aside from issue references | ||
| # | ||
| # Body rules: | ||
| # * Wrap at 72 characters | ||
| # * Use imperative mood | ||
| # * Explain what and why vs. how | ||
| # | ||
| # Footer rules: | ||
| # * Reference issues and pull requests liberally | ||
| # * Use "Fixes #123" or "Closes #123" for issues | ||
| # * Use "BREAKING CHANGE:" for breaking changes |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -26,26 +26,19 @@ jobs: | |||||||
| steps: | ||||||||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||||||||
|
|
||||||||
| - name: Install pnpm | ||||||||
| uses: pnpm/action-setup@v3 | ||||||||
|
|
||||||||
| - name: Use Node.js 20 | ||||||||
| uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4 | ||||||||
| with: | ||||||||
| node-version: 20 | ||||||||
| cache: pnpm | ||||||||
| - uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2 | ||||||||
|
|
||||||||
| - name: Install dependencies | ||||||||
| run: pnpm install | ||||||||
| run: corepack pnpm install | ||||||||
|
|
||||||||
| - name: Install roblox-ts | ||||||||
| run: pnpm add roblox-ts | ||||||||
| run: corepack pnpm add roblox-ts | ||||||||
|
|
||||||||
| - name: Setup Rokit | ||||||||
| uses: CompeyDev/setup-rokit@d49be92bd9502180218c3f43e7988faa945217b0 # v0.1.2 | ||||||||
|
|
||||||||
|
Comment on lines
37
to
39
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove Rokit step here as well. To fully deprecate Rokit in development releases. Apply this diff: - - name: Setup Rokit
- uses: CompeyDev/setup-rokit@d49be92bd9502180218c3f43e7988faa945217b0 # v0.1.2📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||
| - name: Compile | ||||||||
| run: npx rbxtsc --verbose | ||||||||
| run: nlx rbxtsc --verbose | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Use pnpm exec instead of nlx. nlx may not be present on the runner; pnpm exec is guaranteed after install. Apply this diff: - - name: Compile
- run: nlx rbxtsc --verbose
+ - name: Compile
+ run: corepack pnpm exec rbxtsc --verbose📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||
|
|
||||||||
| - name: Build project | ||||||||
| run: rojo build ./default.project.json --output place.rbxlx | ||||||||
|
|
@@ -65,8 +58,7 @@ jobs: | |||||||
| steps: | ||||||||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||||||||
|
|
||||||||
| - name: Setup Rokit | ||||||||
| uses: CompeyDev/setup-rokit@d49be92bd9502180218c3f43e7988faa945217b0 # v0.1.2 | ||||||||
| - uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2 | ||||||||
|
|
||||||||
| - name: Download place artifact | ||||||||
| uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4 | ||||||||
|
|
||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,7 +13,6 @@ sourcemap.json | |
| *.rbxl | ||
| *.rbxlx | ||
|
|
||
| # Bundled eslint config | ||
| *.mjs | ||
| .env | ||
|
|
||
| .env | ||
| .vscode/mise-tools/ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| pnpm dlx commitlint --edit \ | ||
| corepack pnpm dlx commitlint --edit "$1" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| pnpm lint-staged | ||
| corepack pnpm lint-staged |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| [env] | ||
| _.path = [ '{{config_root}}/node_modules/.bin' ] | ||
| _.file = { path = ".env", redact = true } | ||
|
|
||
| [tools] | ||
| "ubi:blake-mealey/mantle" = "0.11.17-prerelease" | ||
| "ubi:jacktabscode/asphalt" = "0.9.1" | ||
| "ubi:lune-org/lune" = "0.8.9" | ||
| "ubi:rojo-rbx/rojo" = "7.4.4" | ||
| "ubi:seaofvoices/darklua" = "0.14.0" | ||
| node = { version = "lts", postinstall = "corepack enable" } |
Uh oh!
There was an error while loading. Please reload this page.