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

Commit6b7e91a

Browse files
authored
ci: improve theme-preview actiot push (anuraghazra#2065)
This commit makes sure that: - The theme-preview action can test multiple themes. - Fails if something goes wrong. - Requests changes if the theme does not adhere to the guidelines. - Approves the PR if the theme adheres to the guidelines.
1 parentf8e32f9 commit6b7e91a

File tree

2 files changed

+520
-119
lines changed

2 files changed

+520
-119
lines changed

‎.github/workflows/preview-theme.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@ name: Theme preview
22

33
on:
44
pull_request_target:
5-
types:[opened,synchronize, reopened]
5+
types:[opened,edited, reopened, synchronize]
66
branches:
77
-master
8-
-theme_preview_script
98
paths:
109
-"themes/index.js"
11-
-"scripts/preview-theme.js"
1210

1311
jobs:
14-
build:
12+
previewTheme:
1513
runs-on:ubuntu-latest
1614
name:Install & Preview
1715

1816
steps:
19-
-uses:actions/checkout@v1
17+
-uses:actions/checkout@v3
18+
-uses:actions/setup-node@v3
19+
with:
20+
node-version:16
2021
-uses:bahmutov/npm-install@v1
2122
with:
2223
useLockFile:false
2324
-run:npm run preview-theme
2425
env:
25-
CI:true
26-
PERSONAL_TOKEN:${{ secrets.PERSONAL_TOKEN }}
26+
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp