Replace Travis CI with GitHub Action
parent
caf8b5802b
commit
87b33d0005
|
@ -0,0 +1,27 @@
|
|||
name: Node.js CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
- release/*
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Node.js CI
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 14
|
||||
- name: Install Yarn
|
||||
uses: bahmutov/npm-install@v1.1.0
|
||||
- name: Test
|
||||
run: yarn test
|
|
@ -1,9 +0,0 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- node
|
||||
- lts/erbium
|
||||
- lts/dubnium
|
||||
cache: yarn
|
||||
|
||||
install: yarn
|
||||
script: yarn test
|
Loading…
Reference in New Issue