diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..a235353 --- /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 7779f96..0000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -language: node_js -node_js: - - "16" -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 6d15f49..ae87501 100644 --- a/ThirdParty.json +++ b/ThirdParty.json @@ -12,7 +12,7 @@ "license": [ "Apache-2.0" ], - "version": "1.102.0", + "version": "1.109.0", "url": "https://www.npmjs.com/package/cesium" }, { @@ -20,7 +20,7 @@ "license": [ "MIT" ], - "version": "11.1.0", + "version": "11.1.1", "url": "https://www.npmjs.com/package/fs-extra" }, { @@ -44,7 +44,7 @@ "license": [ "MIT" ], - "version": "6.0.0", + "version": "7.0.0", "url": "https://www.npmjs.com/package/pngjs" }, { @@ -52,7 +52,7 @@ "license": [ "MIT" ], - "version": "17.6.2", + "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 438f2f4..dca1631 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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 \"**/*\"", @@ -68,4 +66,4 @@ "bin": { "obj2gltf": "./bin/obj2gltf.js" } -} +} \ No newline at end of file