Add github workflow

This commit is contained in:
Giovanni Giordano 2020-01-03 21:32:29 +01:00
parent b4cc0653a9
commit 36b36e8dc3
4 changed files with 22 additions and 11101 deletions

20
.github/workflows vendored Normal file
View File

@ -0,0 +1,20 @@
name: Node.js CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12.x
- run: npm install
- run: npm run build
- run: npm run lint
- run: npm test
env:
CI: true

1
.gitignore vendored
View File

@ -4,7 +4,6 @@ logs
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
package-lock.json
# Dependency directories # Dependency directories
node_modules/ node_modules/

View File

@ -5,6 +5,7 @@
"keywords": [], "keywords": [],
"main": "src/index.js", "main": "src/index.js",
"dependencies": { "dependencies": {
"lodash": "4.17.15",
"react": "16.12.0", "react": "16.12.0",
"react-dom": "16.12.0", "react-dom": "16.12.0",
"react-scripts": "3.3.0", "react-scripts": "3.3.0",
@ -47,4 +48,4 @@
"eslint" "eslint"
] ]
} }
} }

11099
yarn.lock

File diff suppressed because it is too large Load Diff