1
0
mirror of https://github.com/NickKaramoff/shareon synced 2025-01-24 21:01:00 +01:00

Replace Travis CI with GitHub Action

This commit is contained in:
Nikita Karamov 2020-08-03 11:36:01 +02:00
parent caf8b5802b
commit 87b33d0005
No known key found for this signature in database
GPG Key ID: E40DFE6E993540FF
2 changed files with 27 additions and 9 deletions

27
.github/workflows/node.yml vendored Normal file
View File

@ -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

View File

@ -1,9 +0,0 @@
language: node_js
node_js:
- node
- lts/erbium
- lts/dubnium
cache: yarn
install: yarn
script: yarn test