Browse Source

Add GitHub action for CI

master
angristan 10 months ago
parent
commit
dfcb480398
1 changed files with 25 additions and 0 deletions
  1. +25
    -0
      .github/workflows/push.yml

+ 25
- 0
.github/workflows/push.yml View File

@@ -0,0 +1,25 @@
name: Node CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: yarn install and test
run: |
yarn install
yarn test
env:
CI: true

Loading…
Cancel
Save