Browse Source

Add github workflow

pull/69/head
Giovanni Giordano 6 years ago
parent
commit
36b36e8dc3
  1. 20
      .github/workflows
  2. 1
      .gitignore
  3. 3
      package.json
  4. 11099
      yarn.lock

20
.github/workflows

@ -0,0 +1,20 @@ @@ -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

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

3
package.json

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

11099
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save