Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit71ec33b

Browse files
committed
More debugging
1 parentbe8b66e commit71ec33b

File tree

2 files changed

+87
-81
lines changed

2 files changed

+87
-81
lines changed

‎.github/workflows/node.js.yaml‎

Lines changed: 83 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,98 @@
1-
#name: Node.js CI
1+
name:Node.js CI
22

3-
#on:
4-
# merge_group:
5-
# branches:
6-
# - main
7-
# pull_request:
8-
# branches:
9-
# - main
10-
# push:
11-
# branches:
12-
# - main
3+
on:
4+
merge_group:
5+
branches:
6+
-main
7+
pull_request:
8+
branches:
9+
-main
10+
push:
11+
branches:
12+
-main
1313

14-
#jobs:
15-
# test:
16-
# runs-on: ubuntu-latest
17-
# env:
18-
# INKEEP_API_KEY: ${{ secrets.INKEEP_API_KEY }}
14+
jobs:
15+
test:
16+
runs-on:ubuntu-latest
17+
env:
18+
INKEEP_API_KEY:${{ secrets.INKEEP_API_KEY }}
1919

20-
# steps:
21-
# - uses: actions/checkout@v4
22-
# - uses: pnpm/action-setup@v4
23-
# with:
24-
# version: latest
25-
# - uses: actions/setup-node@v4
26-
# with:
27-
# node-version: 22
28-
# cache: pnpm
29-
# - run: pnpm install --frozen-lockfile --strict-peer-dependencies
30-
# - run: pnpm run build
31-
# env:
32-
# INKEEP_API_KEY: ${{ secrets.INKEEP_API_KEY }}
33-
# - run: pnpm run lint
20+
steps:
21+
-uses:actions/checkout@v4
22+
-uses:pnpm/action-setup@v4
23+
with:
24+
version:latest
25+
-uses:actions/setup-node@v4
26+
with:
27+
node-version:22
28+
cache:pnpm
29+
-run:pnpm install --frozen-lockfile --strict-peer-dependencies
30+
-name:Print INKEEP_API_KEY length
31+
run:|
32+
echo "INKEEP_API_KEY Length: ${#INKEEP_API_KEY}"
33+
-run:pnpm run build
34+
env:
35+
INKEEP_API_KEY:${{ secrets.INKEEP_API_KEY }}
36+
-run:pnpm run lint
3437

35-
# fix:
36-
# runs-on: ubuntu-latest
38+
fix:
39+
runs-on:ubuntu-latest
3740

38-
# permissions:
39-
# contents: write
41+
permissions:
42+
contents:write
4043

41-
# needs:
42-
# - test
44+
needs:
45+
-test
4346

44-
# if: failure() && github.event_name != 'merge_group' && github.actor != 'github-actions[bot]' && github.actor != 'nektos/act'
47+
if:failure() && github.event_name != 'merge_group' && github.actor != 'github-actions[bot]' && github.actor != 'nektos/act'
4548

46-
# steps:
47-
# - uses: actions/checkout@v4
48-
# with:
49-
# ref: ${{ github.ref }}
50-
# - uses: pnpm/action-setup@v4
51-
# with:
52-
# version: latest
53-
# - uses: actions/setup-node@v4
54-
# with:
55-
# cache: pnpm
56-
# node-version: 22
49+
steps:
50+
-uses:actions/checkout@v4
51+
with:
52+
ref:${{ github.ref }}
53+
-uses:pnpm/action-setup@v4
54+
with:
55+
version:latest
56+
-uses:actions/setup-node@v4
57+
with:
58+
cache:pnpm
59+
node-version:22
5760

58-
# - run: |
59-
# pnpm install --fix-lockfile --no-frozen-lockfile
60-
# git add .
61-
# - id: commit-lockfile
62-
# uses: qoomon/actions--create-commit@v1
63-
# with:
64-
# message: |
65-
# 📌 pnpm install --fix-lockfile
61+
-run:|
62+
pnpm install --fix-lockfile --no-frozen-lockfile
63+
git add .
64+
-id:commit-lockfile
65+
uses:qoomon/actions--create-commit@v1
66+
with:
67+
message:|
68+
📌 pnpm install --fix-lockfile
6669
67-
# [dependabot skip]
68-
# skip-empty: true
70+
[dependabot skip]
71+
skip-empty:true
6972

70-
# - run: |
71-
# pnpm run format
72-
# git add .
73-
# - id: commit-format
74-
# uses: qoomon/actions--create-commit@v1
75-
# with:
76-
# message: |
77-
# 🎨 pnpm run format
73+
-run:|
74+
pnpm run format
75+
git add .
76+
-id:commit-format
77+
uses:qoomon/actions--create-commit@v1
78+
with:
79+
message:|
80+
🎨 pnpm run format
7881
79-
# [dependabot skip]
80-
# skip-empty: true
82+
[dependabot skip]
83+
skip-empty:true
8184

82-
# - run: |
83-
# pnpm run lint:fix
84-
# git add .
85-
# - id: commit-lint
86-
# uses: qoomon/actions--create-commit@v1
87-
# with:
88-
# message: |
89-
# 🚨 pnpm run lint:fix
85+
-run:|
86+
pnpm run lint:fix
87+
git add .
88+
-id:commit-lint
89+
uses:qoomon/actions--create-commit@v1
90+
with:
91+
message:|
92+
🚨 pnpm run lint:fix
9093
91-
# [dependabot skip]
92-
# skip-empty: true
94+
[dependabot skip]
95+
skip-empty:true
9396

94-
# - if: steps.commit-lockfile.outputs.commit || steps.commit-format.outputs.commit || steps.commit-lint.outputs.commit
95-
# run: git push
97+
-if:steps.commit-lockfile.outputs.commit || steps.commit-format.outputs.commit || steps.commit-lint.outputs.commit
98+
run:git push

‎docusaurus.config.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ import type { EnumChangefreq } from "sitemap"
2020
importtype*asPresetfrom"@docusaurus/preset-classic"
2121
importtype{Config}from"@docusaurus/types"
2222

23-
console.log("THE API KEY LENGTH IS:",process.env.INKEEP_API_KEY?.length)
23+
console.log(
24+
"THE API KEY LENGTH in the docusaurus config is:",
25+
process.env.INKEEP_API_KEY?.length,
26+
)
2427

2528
constbaseUrl="/"
2629

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp