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

Commit0c4932a

Browse files
authored
ci: add test.yml workflow
1 parent7344f5d commit0c4932a

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

‎.github/workflows/test.yml‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name:Health check
2+
on:
3+
workflow_call:
4+
5+
6+
permissions:
7+
contents:read# for checkout
8+
9+
jobs:
10+
check:
11+
name:Check
12+
runs-on:ubuntu-latest
13+
permissions:
14+
contents:read
15+
steps:
16+
-name:Checkout
17+
uses:actions/checkout@v3
18+
with:
19+
fetch-depth:0
20+
-name:Setup Node.js
21+
uses:actions/setup-node@v3
22+
with:
23+
node-version:"lts/*"
24+
-name:Install dependencies
25+
run:npm clean-install
26+
-name:Verify the integrity of provenance attestations and registry signatures for installed dependencies
27+
run:npm audit signatures
28+
-name:Check code format
29+
run:npm run format:check
30+
-name:Lint code
31+
run:npm run lint
32+
-name:Run tests
33+
run:npm test

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp