Skip to content

Commit

Permalink
Merge pull request #61 from pkgjs/actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dominykas authored Dec 7, 2020
2 parents 818775a + 91c28f2 commit d89250d
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 20 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Node.js CI

on:
schedule:
- cron: '23 4 * * *' # Once, nightly
push:
branches:
- main
- master
pull_request:

jobs:

test:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 15, 14, 12, 10 ]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run tests-only

lint:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 14 ]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

0 comments on commit d89250d

Please sign in to comment.