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

Commitb813c47

Browse files
authored
Switch from Travis to GitHub Actions for CI and publishing (#152)
1 parent72b0c99 commitb813c47

File tree

3 files changed

+37
-30
lines changed

3 files changed

+37
-30
lines changed

‎.github/workflows/ci.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name:CI
2+
3+
on:[push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on:ubuntu-latest
8+
9+
steps:
10+
-uses:actions/checkout@v2
11+
-uses:actions/setup-node@v1
12+
with:
13+
node-version:'12.x'
14+
-run:yarn --frozen-lockfile
15+
-run:yarn build
16+
-run:yarn test

‎.github/workflows/publish.yml‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name:Publish
2+
3+
on:
4+
release:
5+
types:[created]
6+
7+
jobs:
8+
build_and_publish:
9+
runs-on:ubuntu-latest
10+
steps:
11+
-uses:actions/checkout@v2
12+
-uses:actions/setup-node@v1
13+
with:
14+
node-version:'12.x'
15+
registry-url:'https://registry.npmjs.org'
16+
-run:yarn
17+
-run:yarn build
18+
-run:yarn test
19+
-run:npm publish
20+
env:
21+
NODE_AUTH_TOKEN:${{ secrets.NPM_TOKEN }}

‎.travis.yml‎

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp