Skip to content

Commit

Permalink
Merge pull request #204 from mansona/update-ci-v6
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue authored Jun 11, 2021
2 parents fa52187 + ba80fed commit 94247cc
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 66 deletions.
6 changes: 5 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
* text eol=lf
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# JS files should always have LF line endings on checkout.
*.js text eol=lf
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI

on:
push:
branches:
- master
- 'v*' # older version branches
tags:
- '*'

pull_request: {}
schedule:
- cron: '0 6 * * 0' # weekly, on sundays

jobs:
test:
name: "Node ${{ matrix.node }} - ${{ matrix.os }}"
runs-on: "${{matrix.os}}-latest"

strategy:
matrix:
os: ['ubuntu', 'windows', 'macOS']
node: ['10', '12', '14']

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: install dependencies
run: yarn install --frozen-lockfile
- name: test
run: yarn test

floating-test:
name: Floating dependencies
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: install dependencies
run: yarn install --no-lockfile
- name: test
run: yarn test

36 changes: 0 additions & 36 deletions .travis.yml

This file was deleted.

29 changes: 0 additions & 29 deletions appveyor.yml

This file was deleted.

0 comments on commit 94247cc

Please sign in to comment.