diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..a1df05a --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: npm build + +on: + push: + branches: + - master + pull_request: {} + +jobs: + publish-npm: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12 + registry-url: https://registry.npmjs.org/ + - run: npm ci + - name: Publish to npm + run: npm publish --tag next + env: + NODE_AUTH_TOKEN: ${{secrets.npm_token}} + if: github.ref == 'refs/heads/master' diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 81840d4..0000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -dist: trusty -sudo: false -language: node_js -node_js: node -deploy: - provider: npm - email: koczkatamas@gmail.com - tag: next - skip_cleanup: true - api_key: - secure: "BKmllFXVBgP+TS9/aKS7tWr2H5nGDe6/2DRrUhjXcYgnoQ8yurQb9IhHZAVIPVG9oBwlHt3O3RzVBsOnKGuwf0H3fnOyEPPGI6hynh0oVQhlCjEnkatWhiuUtq0aAn0vOJoW2y5/oR+TCCVKDumYYjoEbIYoqvXLm78TqZ8g9aTdukVs54aCwgY7Lul+w/qvAmw5ZxgotSoWaN0Ezf9preY6ySQL+AY+/SaJ/sB4GTJG0pmiKNaWQqE0xqbdO1CD0fcRfbn683oji2NpIcPs0t7z1pPZNyxmQ9fLXPHMEb1ydzMdt94dGF/MSQ/Z2m5Jf74+29u08V8zQzP0I2Ta9xyAkU0tQs0JK0R/i4WUx2oqeBZ7mDZR2FS9H5g+P8R/iGrCIgUj5n0W7JrcuJgXoQBURFRIamt+Cc7cTfZ2cAvtBEjo71MfKemNW90z4bE3CBa3RJrVibh0+pcgSHRxT8wT6KCNZPEQzOassRdDnlecL2yB+cH/3K4s4Mvp9Fu7DfTJlG2BCJRHIVwrtIdzgp4KNj//cjViWgKr3NYFLfhuMFMaqIDaVlWzOqzwiwzk19AZ2GfWW99SpVMpyCxhQd4H3ATrrGqpAo7c8T6gjaf0Dzy1BPAODF7Cc0MN8OU/HEzDbJtDQ1NOiLvOZN57q9HLsqp/OK1SvFXUDu2Q6QA=" - on: - tags: true diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..0a2a1c2 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,5 @@ +{ + "name": "kaitai-struct", + "version": "0.9.0-SNAPSHOT.3", + "lockfileVersion": 1 +} diff --git a/package.json b/package.json index a04886c..58d7d33 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,26 @@ { "name": "kaitai-struct", - "version": "0.9.0-SNAPSHOT.1", + "version": "0.9.0-SNAPSHOT.3", "description": "Kaitai Struct: runtime library for Javascript", "main": "index.js", "repository": { "type": "git", "url": "git+https://github.com/kaitai-io/kaitai_struct_javascript_runtime.git" }, - "keywords": ["kaitai", "binary", "parsing", "struct", "stream", "runtime", "file", "format", "structure", "forenics", "reversing", "reverse engineering"], + "keywords": [ + "kaitai", + "binary", + "parsing", + "struct", + "stream", + "runtime", + "file", + "format", + "structure", + "forenics", + "reversing", + "reverse engineering" + ], "author": "Kaitai team (https://github.com/orgs/kaitai-io/people) and Ilmari Heikkinen", "license": "Apache-2.0", "bugs": {