ssh-client-wrapper 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,14 @@
1
- name: publish
1
+ name: publish npm package
2
2
  on:
3
- workflow_call:
3
+ push:
4
+ tags:
5
+ - 'v*'
4
6
  jobs:
7
+ test:
8
+ uses: ./.github/workflows/run_test.yml
5
9
  publish-npm:
10
+ needs:
11
+ - test
6
12
  runs-on: ubuntu-latest
7
13
  steps:
8
14
  - uses: actions/checkout@v3
@@ -1,6 +1,12 @@
1
1
  name: run UT
2
2
  on:
3
+ push:
4
+ tags-ignore:
5
+ - 'v*'
3
6
  workflow_call:
7
+ concurrency:
8
+ group: ${{ github.workflow }}-${{ github.ref }}
9
+ cancel-in-progress: true
4
10
  jobs:
5
11
  test:
6
12
  services:
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "ssh-client-wrapper",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "wrapper library for open ssh client and rsync",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
7
7
  "test": "mocha --recursive test",
8
8
  "lint": "eslint --fix lib test",
9
- "postversion": "git push origin $(git describe --abbrev=0 --tags)"
9
+ "postversion": "git push && git push origin $(git describe --abbrev=0 --tags)"
10
10
  },
11
11
  "engines": {
12
12
  "node": ">=12.9"
@@ -1,13 +0,0 @@
1
- name: release package
2
- on:
3
- push:
4
- branches:
5
- - main
6
- tags:
7
- - 'v*'
8
- jobs:
9
- test:
10
- uses: ./.github/workflows/run_test.yml
11
- publish-npm:
12
- uses: ./.github/workflows/npm-publish.yml
13
- secrets: inherit
@@ -1,8 +0,0 @@
1
- name: run UT only
2
- on:
3
- push:
4
- tags-ignore:
5
- - 'v*'
6
- jobs:
7
- test:
8
- uses: ./.github/workflows/run_test.yml