Skip to content

Commit 1978e09

Browse files
committed
ci: ci test
1 parent c92d037 commit 1978e09

File tree

9 files changed

+50
-36
lines changed

9 files changed

+50
-36
lines changed

.github/workflows/lint.yaml

+7-5
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ jobs:
2626
# list of files that changed across commits
2727
fetch-depth: 0
2828

29-
# - name: Super-linter
30-
# uses: super-linter/super-linter@v7.2.1 # x-release-please-version
31-
# env:
32-
# # To report GitHub Actions status checks
33-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
- name: Super-linter
30+
uses: super-linter/super-linter@v7.2.1 # x-release-please-version
31+
env:
32+
# To report GitHub Actions status checks
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
JAVASCRIPT_ES_CONFIG_FILE: eslint.config.js
35+
CSS_FILE_NAME: stylelint.config.js

.github/workflows/update.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
uses: pnpm/action-setup@v4
2222
with:
2323
run_install: true
24-
- name: Update
25-
run: pnpm run update
26-
- name: Commit changes if any
27-
uses: stefanzweifel/git-auto-commit-action@v4
28-
with:
29-
commit_message: "chore: auto update"
24+
# - name: Update
25+
# run: pnpm run update
26+
# - name: Commit changes if any
27+
# uses: stefanzweifel/git-auto-commit-action@v4
28+
# with:
29+
# commit_message: "chore: auto update"

apps/directory/src/routes/Error.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import buildConfig from '!/config.json'
1616
const voiceOnAtom = atomWithStorage('voiceOn', false)
1717
const config = buildConfig.error_files
1818
const obj = config.files[Math.floor(Math.random() * config.files.length)]
19-
const filename = obj.key.replace('#', '%23')
19+
const filename = obj.key.replace(/#/g, '%23')
2020
const padding = obj.paddings
2121
let lastVoiceState = 'ended'
2222

apps/directory/src/routes/path/Operator.jsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ export default function Operator() {
168168
useEffect(() => {
169169
if (spineRef.current?.children.length === 0 && spineData && config) {
170170
const playerConfig = {
171-
skelUrl: `./assets/${config.filename.replace('#', '%23')}.skel`,
172-
atlasUrl: `./assets/${config.filename.replace('#', '%23')}.atlas`,
171+
skelUrl: `./assets/${config.filename.replace(/#/g, '%23')}.skel`,
172+
atlasUrl: `./assets/${config.filename.replace(/#/g, '%23')}.atlas`,
173173
rawDataURIs: spineData,
174174
animation: spineAnimationName,
175175
premultipliedAlpha: true,
@@ -219,9 +219,9 @@ export default function Operator() {
219219
}
220220

221221
if (config.use_json) {
222-
playerConfig.jsonUrl = `./assets/${config.filename.replace('#', '%23')}.json`
222+
playerConfig.jsonUrl = `./assets/${config.filename.replace(/#/g, '%23')}.json`
223223
} else {
224-
playerConfig.skelUrl = `./assets/${config.filename.replace('#', '%23')}.skel`
224+
playerConfig.skelUrl = `./assets/${config.filename.replace(/#/g, '%23')}.skel`
225225
}
226226
setSpinePlayer(
227227
new spine.SpinePlayer(spineRef.current, playerConfig)

apps/module/.prettierignore

-3
This file was deleted.

apps/module/eslint.config.js

-6
This file was deleted.

apps/module/prettier.config.js

-11
This file was deleted.

pnpm-lock.yaml

+27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

stylelint.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import baseConfig from '@aklive2d/stylelint-config'
2+
/** @type {import('stylelint').Config} */
3+
export default {
4+
...baseConfig,
5+
}

0 commit comments

Comments
 (0)