Skip to content

Commit

Permalink
Skip activation docs (#452)
Browse files Browse the repository at this point in the history
* Add skip activation documentation

* Switch lefthook package
  • Loading branch information
AndrewKahr authored Feb 19, 2024
1 parent 190c068 commit a85c3c6
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 8 deletions.
9 changes: 9 additions & 0 deletions docs/03-github/04-builder.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,15 @@ version numbering for custom built and maintained registries.

_**required:** `false`_ _**default:** `"3"`_

#### skipActivation

Skips the activation step. This is useful for Mac self-hosted runners as the Unity process runs on
the host so activation/deactivation can conflict with parallel running jobs. This should only be
used for Mac self-hosted runners that already have a license activated. Running in any other
configuration will result in a failed build due to inactive licenses.

_**required:** `false`_ _**default:** `false`_

## Outputs

Below are outputs that can be accessed by using `${{ steps.myBuildStep.outputs.outputName }}`, where
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"node": ">= 16.x"
},
"scripts": {
"prepare": "lefthook install && npx husky uninstall -y",
"prepare": "lefthook install",
"docusaurus": "docusaurus",
"dev": "yarn start",
"start": "docusaurus start",
Expand All @@ -34,9 +34,9 @@
"@docusaurus/module-type-aliases": "^2.4.1",
"@docusaurus/preset-classic": "^2.4.1",
"@docusaurus/theme-common": "^2.4.1",
"@docusaurus/tsconfig": "^3.0.0-alpha.0",
"@mdx-js/react": "^1.6.22",
"@reduxjs/toolkit": "^1.8.1",
"@docusaurus/tsconfig": "^3.0.0-alpha.0",
"antd": "^4.20.2",
"autoprefixer": "^10.4.12",
"classnames": "^2.3.2",
Expand Down Expand Up @@ -65,7 +65,6 @@
"typescript": "^4.6.4"
},
"devDependencies": {
"@arkweid/lefthook": "^0.7.7",
"@testing-library/react": "^13.2.0",
"@types/jest": "^27.5.1",
"@typescript-eslint/eslint-plugin": "^6.4.0",
Expand All @@ -86,6 +85,7 @@
"eslint-plugin-unicorn": "^27.0.0",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"lefthook": "^1.6.1",
"prettier": "^2.6.2",
"tsc-files": "^1.1.3"
},
Expand Down
59 changes: 54 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,6 @@
resize-observer-polyfill "^1.5.1"
throttle-debounce "^5.0.0"

"@arkweid/lefthook@^0.7.7":
version "0.7.7"
resolved "https://registry.yarnpkg.com/@arkweid/lefthook/-/lefthook-0.7.7.tgz#12951b09b955d8054885ffe929aa07a49f39027c"
integrity sha512-Eq30OXKmjxIAIsTtbX2fcF3SNZIXS8yry1u8yty7PQFYRctx04rVlhOJCEB2UmfTh8T2vrOMC9IHHUvvo5zbaQ==

"@babel/code-frame@7.12.11":
version "7.12.11"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f"
Expand Down Expand Up @@ -8082,6 +8077,60 @@ launch-editor@^2.6.0:
picocolors "^1.0.0"
shell-quote "^1.7.3"

lefthook-darwin-arm64@1.6.1:
version "1.6.1"
resolved "https://registry.yarnpkg.com/lefthook-darwin-arm64/-/lefthook-darwin-arm64-1.6.1.tgz#387d245d39673ceede01da7de2a0d44d2c368e85"
integrity sha512-q6+sYr2Dpt6YnBGXRjMFcXZUnVB97nH+s7EP/tX8m9ewvQxLPqIiUPyAumfyJ2Siomkc5WgAinG+kT63VjUN3A==

lefthook-darwin-x64@1.6.1:
version "1.6.1"
resolved "https://registry.yarnpkg.com/lefthook-darwin-x64/-/lefthook-darwin-x64-1.6.1.tgz#a677f7262d29317964c96f13509c06d3bf54e93f"
integrity sha512-utm7FwtbW8SxGMALIw5/iG4loYS2FI0crDKp/YIamrZgQr6M4pS2C3rxGj5OwiHFIm3arVU+3VZywdvRLJAw0w==

lefthook-freebsd-arm64@1.6.1:
version "1.6.1"
resolved "https://registry.yarnpkg.com/lefthook-freebsd-arm64/-/lefthook-freebsd-arm64-1.6.1.tgz#3d527cfa40da0b57b2b81e853f7c11bd13fc618c"
integrity sha512-F2BoDnGznkJyn6lyhmXpu62yq7SMCeHAl3Bl8c+P6mXfmatjjxEpVmrzRuzKMPd/MRGpy2B/glkuyO4wZZazow==

lefthook-freebsd-x64@1.6.1:
version "1.6.1"
resolved "https://registry.yarnpkg.com/lefthook-freebsd-x64/-/lefthook-freebsd-x64-1.6.1.tgz#fbc9a5a7c2acaacc5494cf0e21083f21bad8057d"
integrity sha512-/NBjMUtnwvdc/p821sfPnZCbWZ6FQkAvnvjoaQu6tkajKZbZYSKsl7UtAicO0nT+79BQFt7TbaZjpua2T9tM5w==

lefthook-linux-arm64@1.6.1:
version "1.6.1"
resolved "https://registry.yarnpkg.com/lefthook-linux-arm64/-/lefthook-linux-arm64-1.6.1.tgz#5f50008da8fa164ba9d83542361a0c83429da6ae"
integrity sha512-ke+2ni/bmxgYJSRsH+uIYYfTLj2It7WP+mcF4rfJHRbzn5yDYIjFgylUMC2CgW5urS4DSbxcRIbAqLY3OXAHnw==

lefthook-linux-x64@1.6.1:
version "1.6.1"
resolved "https://registry.yarnpkg.com/lefthook-linux-x64/-/lefthook-linux-x64-1.6.1.tgz#a1370cbfc2def92ff7dd1f7dcc71bddca97a8286"
integrity sha512-/HLkl9jt3XRjT0RPaLpAgUQmvp4zV/KKZ/8x6xslPl89krv3ZkHKKrqeaHdhiengq3hzx3N+KbOfFcxBRzdT6A==

lefthook-windows-arm64@1.6.1:
version "1.6.1"
resolved "https://registry.yarnpkg.com/lefthook-windows-arm64/-/lefthook-windows-arm64-1.6.1.tgz#eaffe44e437182e417006ef7b68f49f219fb7e5e"
integrity sha512-RyQ8S4/45BpJpRPy7KsOuJeXQ5FOa7MASoPtOYvrXt4A8kayCv1jlGs7MTv3XJbUosCJhfNpw3ReeHVGfw1KIw==

lefthook-windows-x64@1.6.1:
version "1.6.1"
resolved "https://registry.yarnpkg.com/lefthook-windows-x64/-/lefthook-windows-x64-1.6.1.tgz#c3da7ec991918543be69fe268e91dc5f77ec7548"
integrity sha512-poYLk2tfg1Ncr4aZeFuhHjv1qH6f9hX3tV1FOK2MfWkXkRTYPl6MF5h/ONMIv71BsLjGbAA7LNXM5Mj4/B//lQ==

lefthook@^1.6.1:
version "1.6.1"
resolved "https://registry.yarnpkg.com/lefthook/-/lefthook-1.6.1.tgz#56d35b18ba2231b93d669434c1bd52c4532299e9"
integrity sha512-1T+tk0V6ubZgiZJGi39QlLMAcgEw+lhoDeSpT3L8Y/f8nUpJW9ntcMOmt+uvMfQ3TVjNcR1r/Lhtm7gTqgdcPg==
optionalDependencies:
lefthook-darwin-arm64 "1.6.1"
lefthook-darwin-x64 "1.6.1"
lefthook-freebsd-arm64 "1.6.1"
lefthook-freebsd-x64 "1.6.1"
lefthook-linux-arm64 "1.6.1"
lefthook-linux-x64 "1.6.1"
lefthook-windows-arm64 "1.6.1"
lefthook-windows-x64 "1.6.1"

leven@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2"
Expand Down

0 comments on commit a85c3c6

Please sign in to comment.