Skip to content

Commit

Permalink
Merge pull request #326 from keeganwitt/upstream/keeganwitt/gh_actions
Browse files Browse the repository at this point in the history
Replace Travis with GitHub Actions
  • Loading branch information
rickhanlonii authored Jun 23, 2021
2 parents 54b1d85 + 4849c57 commit eec0323
Show file tree
Hide file tree
Showing 4 changed files with 1,387 additions and 721 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'GitHub CI'
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn lint
- run: yarn test:coverage
- run: yarn test:report
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"prepublishOnly": "yarn build",
"precommit": "lint-staged",
"prettier": "prettier 'src/**/*.js' --write --single-quote=true --print-width=120",
"test": "jest",
"test": "jest --color=true",
"test:coverage": "yarn test -- --coverage",
"test:report": "codecov",
"test:watch": "yarn test -- --watch"
Expand All @@ -35,11 +35,11 @@
"license": "MIT",
"repository": "jest-community/jest-extended",
"devDependencies": {
"@types/jest": "^23.3.2",
"@types/jest": "^24.0.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.1",
"babel-jest": "^23.0.1",
"babel-jest": "^24.0.0",
"babel-jest-assertions": "^0.1.0",
"babel-plugin-gwt": "^1.0.0",
"babel-plugin-transform-async-to-generator": "^6.24.1",
Expand All @@ -51,7 +51,7 @@
"eslint-plugin-jest": "^21.2.0",
"husky": "^0.14.3",
"import-all.macro": "^2.0.3",
"jest": "^23.0.1",
"jest": "^24.0.0",
"jest-each": "^0.5.0",
"jest-watch-typeahead": "^0.2.0",
"lint-staged": "^6.0.0",
Expand Down Expand Up @@ -99,7 +99,7 @@
"babel-plugin-transform-es2015-modules-commonjs",
"transform-object-rest-spread",
"transform-async-to-generator",
"babel-jest-assertions",
"./node_modules/babel-jest-assertions",
"gwt",
"macros"
]
Expand Down
Loading

0 comments on commit eec0323

Please sign in to comment.