Skip to content

Commit f6f2920

Browse files
committed
build: test를 위한 github action 추가
1 parent c9e256e commit f6f2920

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Tests
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
node-version: [16.x]
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: ${{ matrix.node-version }}
16+
cache: npm
17+
- name: install
18+
run: npm install
19+
20+
- uses: mattallty/jest-github-action@v1
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}

0 commit comments

Comments
 (0)