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 Jan 9, 2025. It is now read-only.
/jtmlPublic archive

Commit8e8f074

Browse files
authored
Merge pull request#20 from github/add-release-action-1-2
Add a release action
2 parents5a7c911 +b307e5a commit8e8f074

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

‎.github/workflows/publish.yml‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name:Publish
2+
3+
on:
4+
release:
5+
types:[created]
6+
7+
jobs:
8+
publish-npm:
9+
runs-on:ubuntu-latest
10+
steps:
11+
-uses:actions/checkout@v3
12+
-uses:actions/setup-node@v3
13+
with:
14+
node-version:14
15+
registry-url:https://registry.npmjs.org/
16+
cache:npm
17+
-run:npm ci
18+
-run:npm test
19+
-run:npm version ${TAG_NAME} --git-tag-version=false
20+
env:
21+
TAG_NAME:${{ github.event.release.tag_name }}
22+
-run:npm whoami; npm --ignore-scripts publish
23+
env:
24+
NODE_AUTH_TOKEN:${{secrets.npm_token}}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp