Skip to content

Commit

Permalink
Move to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Dec 25, 2020
1 parent 6baf2cc commit 626c0c2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 7 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 14
- 12
- 10
- 8
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ test('#14, does not match sub-strings of longer semver-similar strings, respect
// '1.2.31.2.3----RC-SNAPSHOT.12.09.1--..12+788',
'1.2-RC-SNAPSHOT',
'-1.0.3-gamma+b7718',
'+justmeta',
'+justmeta'
// '9.8.7+meta+meta',
// '9.8.7-whatever+meta+meta',
// '99999999999999999999999.999999999999999999.99999999999999999----RC-SNAPSHOT.12.09.1--------------------------------..12'
Expand Down

0 comments on commit 626c0c2

Please sign in to comment.