-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ci): fix tests on CI #1452
Merged
Merged
fix(ci): fix tests on CI #1452
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
092a271
ci: set NX_DISABLE_DB
xnv 2207c23
ci: set --verbose
xnv 2c9b5ec
ci: set NX_DISABLE_DB true
xnv e40d716
build: recreate package-lock
xnv 1d35313
test: fix tests
xnv c9d8d39
fix(serve): use @rollup/wasm-node to avoid platform-dependent trouble
xnv 8629fe7
ci: recreate package-lock
xnv e32cb44
chore: remove --verbose from build
xnv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,5 @@ jobs: | |
run: | | ||
npm ci | ||
npm test | ||
env: | ||
NX_DISABLE_DB: true | ||
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,9 +37,9 @@ describe("apiUtil", function () { | |
}) | ||
.catch(function (err: any) { | ||
// レスポンスコードが不定のため先頭一致で判定 | ||
expect(err.message.startsWith( | ||
"Failed to get resource. url: https://akashic-games.github.io/notfound. status code: ") | ||
).toBe(true); | ||
expect(err.message).match( | ||
/^Failed to get resource\. url: https:\/\/akashic-games\.github\.io\/notfound\. status code:.*/ | ||
); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 別件。この件の作業中、サーバ側の問題か何かで一時的に失敗していた (?) のですが、 |
||
}); | ||
}); | ||
}); | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/akashic-games/akashic-cli/actions/runs/11395792247/job/31708603920#step:4:35 の回避。
一時ディレクトリの書き込み権限の問題……という指摘もありますが、Github Actions での対処方法がよく分からず、安直に nrwl/nx#28205 のワークアラウンドを採用しています。