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 cb0d533 commit b1bedc2
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 27 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
run-name: build
on:
push:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 16, 18 ]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm run eslint
- run: npm run prettier-check
- run: npm run test -- --failTaskOnError --suppressPassed
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

12 changes: 6 additions & 6 deletions ThirdParty.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,47 +12,47 @@
"license": [
"Apache-2.0"
],
"version": "1.93.0",
"version": "1.109.0",
"url": "https://www.npmjs.com/package/cesium"
},
{
"name": "draco3d",
"license": [
"Apache-2.0"
],
"version": "1.5.2",
"version": "1.5.6",
"url": "https://www.npmjs.com/package/draco3d"
},
{
"name": "fs-extra",
"license": [
"MIT"
],
"version": "10.1.0",
"version": "11.1.1",
"url": "https://www.npmjs.com/package/fs-extra"
},
{
"name": "mime",
"license": [
"MIT"
],
"version": "2.6.0",
"version": "3.0.0",
"url": "https://www.npmjs.com/package/mime"
},
{
"name": "object-hash",
"license": [
"MIT"
],
"version": "2.2.0",
"version": "3.0.0",
"url": "https://www.npmjs.com/package/object-hash"
},
{
"name": "yargs",
"license": [
"MIT"
],
"version": "17.4.1",
"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",
"dependency-tree": "^10.0.9",
"eslint": "^8.0.1",
"eslint-config-cesium": "^9.0.0",
Expand All @@ -61,7 +60,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 @@ -72,4 +70,4 @@
"bin": {
"gltf-pipeline": "./bin/gltf-pipeline.js"
}
}
}

0 comments on commit b1bedc2

Please sign in to comment.