Skip to content

Commit f878133

Browse files
authored
test for prettier (#43)
1 parent beb81b8 commit f878133

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Test
2+
on: ["push", "pull_request"]
3+
jobs:
4+
test:
5+
if: "!contains(github.event.head_commit.message, 'skip ci')"
6+
name: Test
7+
runs-on: ubuntu-18.04
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v1
11+
- name: Setup Node.js
12+
uses: actions/setup-node@v1
13+
with:
14+
node-version: 12
15+
- name: Run Prettier Test
16+
run: npx prettier --check "src/**/*.js"

0 commit comments

Comments
 (0)