Skip to content

Commit bf4bd48

Browse files
James TsaiJames Tsai
authored andcommitted
feat: add config-test github action
1 parent 8dd1c50 commit bf4bd48

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/config-test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Config Test"
2+
3+
on: push
4+
5+
jobs:
6+
test:
7+
name: test config files
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
node-version: ['12', '14', '16']
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v2
17+
- name: Use Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v2
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
- name: Install dependencies
22+
run: npm install
23+
- run: npm run test
24+

0 commit comments

Comments
 (0)