Skip to content

Commit

Permalink
Migrate to GitHub Actions
Browse files Browse the repository at this point in the history
* Add simple build.yml for GitHub Actions
* Delete travis.yml
* Remove coveralls, we didn't really use it
* No need to run coverage in CI
  • Loading branch information
mramato committed Sep 19, 2023
1 parent a1709ac commit d8f7834
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 19 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
run-name: build
on:
push:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install node 18
uses: actions/setup-node@v3
with:
node-version: '16'
- name: npm install
run: npm install
- name: eslint
run: npm run eslint
- name: prettier-check
run: npm run prettier-check
- name: test
run: npm run test -- --failTaskOnError --suppressPassed
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

8 changes: 4 additions & 4 deletions ThirdParty.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"license": [
"Apache-2.0"
],
"version": "1.102.0",
"version": "1.109.0",
"url": "https://www.npmjs.com/package/cesium"
},
{
"name": "fs-extra",
"license": [
"MIT"
],
"version": "11.1.0",
"version": "11.1.1",
"url": "https://www.npmjs.com/package/fs-extra"
},
{
Expand All @@ -44,15 +44,15 @@
"license": [
"MIT"
],
"version": "6.0.0",
"version": "7.0.0",
"url": "https://www.npmjs.com/package/pngjs"
},
{
"name": "yargs",
"license": [
"MIT"
],
"version": "17.6.2",
"version": "17.7.2",
"url": "https://www.npmjs.com/package/yargs"
}
]
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
},
"devDependencies": {
"cloc": "^2.8.0",
"coveralls": "^3.1.1",
"eslint": "^8.0.1",
"eslint-config-cesium": "^9.0.0",
"eslint-config-prettier": "^8.3.0",
Expand All @@ -58,7 +57,6 @@
"test": "gulp test",
"test-watch": "gulp test-watch",
"coverage": "gulp coverage",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"cloc": "gulp cloc",
"prettier": "prettier --write \"**/*\"",
"prettier-check": "prettier --check \"**/*\"",
Expand All @@ -68,4 +66,4 @@
"bin": {
"obj2gltf": "./bin/obj2gltf.js"
}
}
}

0 comments on commit d8f7834

Please sign in to comment.