Skip to content

Commit

Permalink
Merge pull request #10 from JarvusInnovations/develop
Browse files Browse the repository at this point in the history
Release: v1.1.2
  • Loading branch information
themightychris authored Mar 11, 2023
2 parents bd5f11b + 5e57013 commit 3651928
Show file tree
Hide file tree
Showing 6 changed files with 222 additions and 29 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'NPM: Publish'

on:
push:
tags: [ 'v*' ]

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:

- uses: actions/setup-node@v1
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'

- uses: actions/checkout@v3

- name: Setting package.json version
run: npm version --no-git-tag-version --allow-same-version "${GITHUB_REF:11}"

- run: npm ci

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
20 changes: 20 additions & 0 deletions .github/workflows/release-prepare.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Release: Prepare PR'

on:
push:
branches: [ develop ]

permissions:
contents: read
pull-requests: write

jobs:
release-prepare:

runs-on: ubuntu-latest
steps:

- uses: JarvusInnovations/infra-components@channels/github-actions/release-prepare/latest
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
release-branch: master
19 changes: 19 additions & 0 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Release: Publish PR'

on:
pull_request:
branches: [ master ]
types: [ closed ]

permissions:
contents: write

jobs:
release-publish:

runs-on: ubuntu-latest
steps:

- uses: JarvusInnovations/infra-components@channels/github-actions/release-publish/latest
with:
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}
16 changes: 16 additions & 0 deletions .github/workflows/release-validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'Release: Validate PR'

on:
pull_request:
branches: [ master ]
types: [ opened, edited, reopened, synchronize ]

jobs:
release-validate:

runs-on: ubuntu-latest
steps:

- uses: JarvusInnovations/infra-components@channels/github-actions/release-validate/latest
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
162 changes: 137 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hab-client",
"version": "1.1.1",
"version": "0.0.1",
"description": "Promise-based habitat client that mostly just executes the hab binary but can also query the supervisor API",
"main": "index.js",
"scripts": {
Expand All @@ -23,8 +23,8 @@
},
"homepage": "https://github.com/JarvusInnovations/hab-client#readme",
"dependencies": {
"axios": "^0.21.1",
"semver": "^5.6.0",
"underscore": "^1.9.1"
"axios": "^1.3.4",
"semver": "^7.3.8",
"underscore": "^1.13.6"
}
}

0 comments on commit 3651928

Please sign in to comment.