| 原本常見版本 | 支援 Node.js 24 的版本 | 建議替換 | 備註 |
|---|---|---|---|
actions/checkout@v4 |
v5 起;目前也有 v6 |
actions/checkout@v5 或 @v6 |
v5 明確改為 Node 24;v6 另有 credentials 儲存位置調整,若 workflow 有 git push/自訂 credential 行為,升級前要測。([GitHub][1]) |
actions/setup-node@v4 |
v5 起 |
actions/setup-node@v5 |
v5 改為 Node 24,且有 caching 預設行為變更;敏感 workflow 可加 package-manager-cache: false。([GitHub][2]) |
actions/cache@v4 |
v5 起 |
**`ac |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "id": "93b6262d-d0ae-4f3e-8675-ff13209f9681", | |
| "revision": 0, | |
| "last_node_id": 92, | |
| "last_link_id": 122, | |
| "nodes": [ | |
| { | |
| "id": 66, | |
| "type": "ImageUpscaleWithModel", | |
| "pos": [3070, 1400], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div | |
| :style="{ height: myOptions.height + 'px', width: myOptions.width + 'px' }" | |
| ></div> | |
| </template> | |
| <script> | |
| import { edit } from "ace-builds"; | |
| const defaultOptions = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function f($n) { | |
| static $result = []; | |
| if (isset($result[$n])) { | |
| return $result[$n]; | |
| } | |
| if ($n <= 2) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // @see https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000556284-vue-import-component-Module-is-not-installed-?page=2#community_comment_360000146344 | |
| // If you use vue-cli 3: | |
| // Put this file to root folder fo the project | |
| // Open PhpStorm or WebStorm, and goto | |
| // Perferences / Languages & Frameworks / JavaScript / Webpack | |
| // webpack configuration file: </path/to/project/node_modules/@vue/cli-service/webpack.config.js> | |
| const path = require("path"); | |
| function resolve(dir) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| install-deps: | |
| image: our-registry:5000/php:7.2 | |
| stage: prepare | |
| script: | |
| - composer --no-dev install --no-scripts | |
| artifacts: | |
| expire_in: 1 week | |
| paths: | |
| - vendor/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199#23 | |
| RUN mkdir -p /usr/share/man/man1 && \ | |
| apt-get update && \ | |
| apt-get install -y --no-install-recommends \ | |
| openjdk-8-jdk && \ | |
| apt-get clean && \ | |
| rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const camelCase = require('camelcase'); | |
| require('fs').readdirSync(__dirname + '/').forEach(file => { | |
| if (file.endsWith('js') && file !== 'index.js') { | |
| var name = file.replace('.js', ''); | |
| exports[camelCase(name)] = require('./' + file); | |
| } | |
| }); |
NewerOlder