Browse Source

Merge pull request #7 from angristan/action

CI: Use GitHub action
master
Stanislas 10 months ago
committed by GitHub
parent
commit
b6feb964a8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 25 deletions
  1. +25
    -0
      .github/workflows/push.yml
  2. +0
    -14
      .gitlab-ci.yml
  3. +0
    -11
      .travis.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

+ 0
- 14
.gitlab-ci.yml View File

@@ -1,14 +0,0 @@
image: node:10-alpine

cache:
paths:
- node_modules/

stages:
- test

yarn test:
stage: test
script:
- yarn install
- yarn test

+ 0
- 11
.travis.yml View File

@@ -1,11 +0,0 @@
dist: xenial
language: node_js
node_js:
- 10
cache: yarn

# Don't run builds for renovate PRs
if: NOT head_branch =~ ^renovate



Loading…
Cancel
Save