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

Commit3648f19

Browse files
committed
fix publish script
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parentc767cc6 commit3648f19

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

‎.github/workflows/npm-publish.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
1-
name:publish
1+
name:npm-publish
22
on:
33
push:
44
branches:
55
-master
66
jobs:
7-
build:
7+
npm-publish:
8+
name:npm-publish
89
runs-on:ubuntu-latest
910
steps:
10-
-name:Publish to npm
11-
uses:pascalgn/npm-publish-action@1.3.3
11+
-name:Checkout repository
12+
uses:actions/checkout@master
13+
-name:Set up Node.js
14+
uses:actions/setup-node@master
15+
with:
16+
node-version:12.0.0
17+
-name:Publish if version has been updated
18+
uses:pascalgn/npm-publish-action@06e0830ea83eea10ed4a62654eeaedafb8bf50fc
19+
with:
20+
tag_name:"v%s"
21+
tag_message:"v%s"
22+
commit_pattern:"^Release (\\S+)"
23+
workspace:"."
24+
env:
25+
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
26+
NPM_AUTH_TOKEN:${{ secrets.NPM_AUTH_TOKEN }}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp