Skip to content

Commit 7bd41a9

Browse files
chore: update workflows to remove corepack references (#260)
1 parent 03ccd3d commit 7bd41a9

File tree

7 files changed

+16
-8
lines changed

7 files changed

+16
-8
lines changed

.github/workflows/release-development.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
- uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2
3030

3131
- name: Install dependencies
32-
run: corepack pnpm install
32+
run: pnpm install
3333

3434
- name: Install roblox-ts
35-
run: corepack pnpm add roblox-ts
35+
run: pnpm add roblox-ts
3636

3737
- name: Setup Rokit
3838
uses: CompeyDev/setup-rokit@d49be92bd9502180218c3f43e7988faa945217b0 # v0.1.2

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ jobs:
3232
- uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2
3333

3434
- name: Install dependencies
35-
run: corepack pnpm install
35+
run: pnpm install
3636

3737
- name: Install roblox-ts
38-
run: corepack pnpm add roblox-ts
38+
run: pnpm add roblox-ts
3939

4040
- name: Compile
41-
run: corepack pnpm prod:build --verbose
41+
run: pnpm prod:build --verbose
4242

4343
- name: Build project
4444
run: rojo build ./build.project.json --output place.rbxlx

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
corepack pnpm dlx commitlint --edit "$1"
1+
pnpm dlx commitlint --edit "$1"

.husky/post-merge

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
. "$(dirname "$0")/_/husky.sh"
33

44
# matches only the package-lock.json inside project directory
5-
npx git-pull-run --pattern "pnpm-lock.yaml" --command "corepack pnpm install"
5+
npx git-pull-run --pattern "pnpm-lock.yaml" --command "pnpm install"

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
corepack pnpm lint-staged
1+
pnpm lint-staged

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@
2929
"npm.packageManager": "pnpm",
3030

3131
// Mise Tools settings
32+
"mise.configureExtensionsUseSymLinks": true,
3233
"debug.javascript.defaultRuntimeExecutable": {
3334
"pwa-node": "${workspaceFolder}\\.vscode\\mise-tools\\node"
3435
},
3536

37+
// Options for GitHub Copilot
3638
"github.copilot.chat.commitMessageGeneration.instructions": [
3739
{
3840
"file": ".github/commit-instructions.md"

mise.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
_.path = [ '{{config_root}}/node_modules/.bin' ]
33
_.file = { path = ".env", redact = true }
44

5+
[hooks]
6+
postinstall = "npx corepack enable"
7+
8+
[settings]
9+
experimental = true
10+
511
[tools]
612
"ubi:blake-mealey/mantle" = "0.11.17-prerelease"
713
"ubi:jacktabscode/asphalt" = "0.9.1"

0 commit comments

Comments
 (0)