diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..a2353536 --- /dev/null +++ b/.github/workflows/build.yml @@ -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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ef95d552..00000000 --- a/.travis.yml +++ /dev/null @@ -1,18 +0,0 @@ -language: node_js - -node_js: - - "18" - -# Node 18 doesn't work in Ubuntu 18.04 or lower. Set to Ubuntu 22.04. -# See https://github.com/nodejs/node/issues/42351#issuecomment-1068424442 -dist: jammy - -script: - - npm run eslint - - npm run prettier-check - - npm run test -- --failTaskOnError --suppressPassed; - -after_success: -## We only need to run coveralls for one node version (doesn't matter which one). -## We also ignore publishing failures, since restarting an existing travis build would otherwise break. - - npm run coverage && npm run coveralls; diff --git a/ThirdParty.json b/ThirdParty.json index 743bed45..34b8d732 100644 --- a/ThirdParty.json +++ b/ThirdParty.json @@ -12,7 +12,7 @@ "license": [ "Apache-2.0" ], - "version": "1.93.0", + "version": "1.109.0", "url": "https://www.npmjs.com/package/cesium" }, { @@ -20,7 +20,7 @@ "license": [ "Apache-2.0" ], - "version": "1.5.2", + "version": "1.5.6", "url": "https://www.npmjs.com/package/draco3d" }, { @@ -28,7 +28,7 @@ "license": [ "MIT" ], - "version": "10.1.0", + "version": "11.1.1", "url": "https://www.npmjs.com/package/fs-extra" }, { @@ -36,7 +36,7 @@ "license": [ "MIT" ], - "version": "2.6.0", + "version": "3.0.0", "url": "https://www.npmjs.com/package/mime" }, { @@ -44,7 +44,7 @@ "license": [ "MIT" ], - "version": "2.2.0", + "version": "3.0.0", "url": "https://www.npmjs.com/package/object-hash" }, { @@ -52,7 +52,7 @@ "license": [ "MIT" ], - "version": "17.4.1", + "version": "17.7.2", "url": "https://www.npmjs.com/package/yargs" } ] \ No newline at end of file diff --git a/package.json b/package.json index f592f18d..a916b3e9 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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 \"**/*\"", @@ -72,4 +70,4 @@ "bin": { "gltf-pipeline": "./bin/gltf-pipeline.js" } -} +} \ No newline at end of file