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

Commit4094242

Browse files
committed
Add GitHub workflow.
1 parent1b0e27a commit4094242

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

‎.github/workflows/node.js.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name:CI
2+
3+
on:
4+
push:
5+
branches:[ source ]
6+
pull_request:
7+
branches:[ source ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on:ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version:[14.x]
17+
18+
steps:
19+
-name:Checkout repository
20+
uses:actions/checkout@v2
21+
22+
-name:Setup Node.js ${{ matrix.node-version }}
23+
uses:actions/setup-node@v1
24+
with:
25+
node-version:${{ matrix.node-version }}
26+
27+
-name:Install dependencies
28+
run:npm i
29+
30+
-name:Run linting
31+
run:npm run lint
32+
33+
-name:Run tests
34+
run:npm run coverage
35+
36+
-name:Upload coverage to Codecov
37+
uses:codecov/codecov-action@v1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp