Skip to content

Commit ac445b2

Browse files
committed
ci: use pkgjs/action
1 parent 70053da commit ac445b2

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

.github/workflows/ci.yaml

+8-17
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,11 @@ on:
99
jobs:
1010

1111
test:
12-
13-
runs-on: ubuntu-latest
14-
15-
strategy:
16-
matrix:
17-
node-version: [ 16, 14, 12, 10 ]
18-
19-
steps:
20-
- uses: actions/checkout@v2
21-
- run: |
22-
git config --global user.name github-actions
23-
git config --global user.email [email protected]
24-
- uses: actions/setup-node@v2
25-
with:
26-
node-version: ${{ matrix.node-version }}
27-
- run: npm install
28-
- run: npm run test
12+
uses: pkgjs/action/.github/workflows/node-test.yaml@v0
13+
with:
14+
post-checkout-steps: |
15+
- name: Set git user to avoid warnings
16+
shell: bash
17+
run: |
18+
git config --global user.name github-actions
19+
git config --global user.email [email protected]

0 commit comments

Comments
 (0)