Skip to content

Commit ba12384

Browse files
authored
Merge pull request #17 from kaitai-io/add_gh_actions
Removed Travis automation, added GH Actions build & publish to npm
2 parents d9bc0b9 + 5921f1b commit ba12384

File tree

4 files changed

+43
-15
lines changed

4 files changed

+43
-15
lines changed

.github/workflows/build.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: npm build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request: {}
8+
9+
jobs:
10+
publish-npm:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v1
15+
with:
16+
node-version: 12
17+
registry-url: https://registry.npmjs.org/
18+
- run: npm ci
19+
- name: Publish to npm
20+
run: npm publish --tag next
21+
env:
22+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
23+
if: github.ref == 'refs/heads/master'

.travis.yml

-13
This file was deleted.

package-lock.json

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+15-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
11
{
22
"name": "kaitai-struct",
3-
"version": "0.9.0-SNAPSHOT.1",
3+
"version": "0.9.0-SNAPSHOT.3",
44
"description": "Kaitai Struct: runtime library for Javascript",
55
"main": "index.js",
66
"repository": {
77
"type": "git",
88
"url": "git+https://github.com/kaitai-io/kaitai_struct_javascript_runtime.git"
99
},
10-
"keywords": ["kaitai", "binary", "parsing", "struct", "stream", "runtime", "file", "format", "structure", "forenics", "reversing", "reverse engineering"],
10+
"keywords": [
11+
"kaitai",
12+
"binary",
13+
"parsing",
14+
"struct",
15+
"stream",
16+
"runtime",
17+
"file",
18+
"format",
19+
"structure",
20+
"forenics",
21+
"reversing",
22+
"reverse engineering"
23+
],
1124
"author": "Kaitai team (https://github.com/orgs/kaitai-io/people) and Ilmari Heikkinen",
1225
"license": "Apache-2.0",
1326
"bugs": {

0 commit comments

Comments
 (0)