Skip to content

Commit

Permalink
Move to GitHub Actions and remove Node.js 10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Jun 13, 2021
1 parent e0b7c0f commit d7b9045
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 8 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Test
"on":
push: null
pull_request: null
env:
FORCE_COLOR: 2
jobs:
full:
name: Node.js 16 Full
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Run tests
run: yarn test
short:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 14
- 12
name: Node.js ${{ matrix.node-version }} Quick
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Run unit tests
run: npx jest
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"postcss": "^8.1.6"
},
"engines": {
"node": ">=10.0"
"node": ">=12.0"
},
"exports": {
".": {
Expand Down

0 comments on commit d7b9045

Please # to comment.