1
0
mirror of https://github.com/danog/gift.git synced 2024-11-26 20:04:47 +01:00

Add actions

This commit is contained in:
Daniil Gentili 2020-08-22 21:38:42 +02:00
parent c6f1310288
commit d068cfbb16
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

24
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Node.js CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [4.x, 6.x, 8.x, 9.x, 10.x, 12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present
- run: npm test
env:
CI: true