Skip to content

Commit

Permalink
Merge pull request #140 from sosna/develop
Browse files Browse the repository at this point in the history
Simplify build process
  • Loading branch information
sosna committed Aug 18, 2020
2 parents 32b99dd + d90878d commit 66ec6c0
Show file tree
Hide file tree
Showing 12 changed files with 2,973 additions and 1,900 deletions.
14 changes: 14 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parser": "eslint-plugin-coffee",
"plugins": ["coffee"],
"env": {
"browser": true,
"node": true
},
"extends": [
"plugin:coffee/eslint-recommended"
],
"rules": {
"coffee/id-length": "off"
}
}
26 changes: 18 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,27 @@ jobs:

strategy:
matrix:
os: [ubuntu-20.04, ubuntu-latest, macos-latest]
os: [ubuntu-20.04, ubuntu-latest, macos-latest, windows-latest]
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
- name: Checkout project
uses: actions/checkout@v2
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run test:single
- run: npm run check-coverage
- run: npm run lint
- run: npm run build
- name: Install project
run: npm ci
- name: Build project
run: npm run build
- name: Run tests
run: npm run test
- name: Check coding conventions
run: npm run lint
- name: Check test coverage
run: npm run coverage
- name: Send coverage to codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage/lcov.info
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run test:single
- run: npm run test
- run: npm run build
- run: npm publish
env:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ coverage
.idea
*.swp
sdmx-rest4js.code-workspace
.nyc_output
115 changes: 0 additions & 115 deletions coffeelint.json

This file was deleted.

Loading

0 comments on commit 66ec6c0

Please sign in to comment.