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

Commitd97ed9b

Browse files
authored
feat: add test-deploy workflow
2 parents37376cb +75a3486 commitd97ed9b

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

‎.github/workflows/deploy.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
-name:Install dependencies
2222
run:npm ci
2323
-name:Build website
24-
run:npm build
24+
run:npmrunbuild
2525

2626
-name:Upload Build Artifact
2727
uses:actions/upload-pages-artifact@v3

‎.github/workflows/test-deploy.yml‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name:Test deployment
2+
3+
on:
4+
pull_request:
5+
branches:
6+
-main
7+
8+
jobs:
9+
test-deploy:
10+
name:Test deployment
11+
runs-on:ubuntu-latest
12+
steps:
13+
-uses:actions/checkout@v4
14+
with:
15+
fetch-depth:0
16+
-uses:actions/setup-node@v4
17+
with:
18+
node-version:18
19+
cache:npm
20+
21+
-name:Install dependencies
22+
run:npm ci
23+
-name:Test build website
24+
run:npm run build

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp