chore: release testing

This commit is contained in:
Bill Church 2022-08-02 15:21:35 +00:00
parent 837bb2380d
commit ee235e2294
No known key found for this signature in database
GPG key ID: 10DD056C65752AA0
7 changed files with 11 additions and 41 deletions

View file

@ -13,6 +13,8 @@ jobs:
- uses: google-github-actions/release-please-action@v3 - uses: google-github-actions/release-please-action@v3
with: with:
command: manifest command: manifest
package-name: webssh2
path: app
# The logic below handles the npm publication: # The logic below handles the npm publication:
- name: Checkout Repository - name: Checkout Repository
@ -22,10 +24,11 @@ jobs:
uses: actions/setup-node@v1 uses: actions/setup-node@v1
if: ${{ steps.release.outputs.releases_created }} if: ${{ steps.release.outputs.releases_created }}
with: with:
node-version: 14 node-version: 16
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
- name: Build Packages - name: Build Packages
if: ${{ steps.release.outputs.releases_created }} if: ${{ steps.release.outputs.releases_created }}
working-directory: ./app
run: | run: |
npm install npm install
npx lerna bootstrap npx lerna bootstrap
@ -35,6 +38,7 @@ jobs:
# See: https://github.com/lerna/lerna/tree/main/commands/publish#bump-from-package # See: https://github.com/lerna/lerna/tree/main/commands/publish#bump-from-package
- name: Publish to NPM - name: Publish to NPM
if: ${{ steps.release.outputs.releases_created }} if: ${{ steps.release.outputs.releases_created }}
working-directory: ./app
env: env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
run: npx lerna publish from-package --no-push --no-private --yes run: npx lerna publish from-package --no-push --no-private --yes

View file

@ -1,3 +0,0 @@
{
"app": "0.4.7-pre-0"
}

View file

@ -0,0 +1,3 @@
{
"app": "0.4.6"
}

View file

@ -2,40 +2,6 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [0.4.7-pre-0](https://github.com/billchurch/webssh2/compare/webssh2-v0.4.6...webssh2-v0.4.7-pre-0) (2022-08-02)
### ⚠ BREAKING CHANGES
* validate referer to /reauth is valid
* bump xterm to 4.18.0
* consistent logging messages see #286
* config system changes #284 (#285)
### Features
* add additional params for POST requests [#290](https://github.com/billchurch/webssh2/issues/290) ([46c1560](https://github.com/billchurch/webssh2/commit/46c1560e3c126376e18124e14e5c7fb8c029a0a1))
* add additional vars to POST requests [#290](https://github.com/billchurch/webssh2/issues/290) ([0a4e419](https://github.com/billchurch/webssh2/commit/0a4e419fb371ae95340fa890497022a2aa9d063a))
* add fontFamily, letterSpacing, lineHeight ([97f3088](https://github.com/billchurch/webssh2/commit/97f3088780744e13a6724a4967a4896aac3f20d8))
* add fontSize option [#292](https://github.com/billchurch/webssh2/issues/292) ([5e78812](https://github.com/billchurch/webssh2/commit/5e788129744d326e78ec91bda86ed5cecfd70d3f))
* config system changes [#284](https://github.com/billchurch/webssh2/issues/284) ([#285](https://github.com/billchurch/webssh2/issues/285)) ([9c99b09](https://github.com/billchurch/webssh2/commit/9c99b0940ec726193deae3c4999d25a297874d67))
* consistent logging messages see [#286](https://github.com/billchurch/webssh2/issues/286) ([50cfcb9](https://github.com/billchurch/webssh2/commit/50cfcb97788cbd3409b4605adceef3d47e370e38))
* credentials over http post for [#290](https://github.com/billchurch/webssh2/issues/290) ([5b8f88c](https://github.com/billchurch/webssh2/commit/5b8f88cfef1745c88748277217204e6c38c7ff7e))
* reorder viewport setup at ssh handshake [#292](https://github.com/billchurch/webssh2/issues/292) ([140e1e2](https://github.com/billchurch/webssh2/commit/140e1e24b14d6b74848e9d250c2b44f806ad627d))
* validate referer to /reauth is valid ([0dcaa6e](https://github.com/billchurch/webssh2/commit/0dcaa6e15062cdc3252ce52abd9057caf4c00a30))
### Bug Fixes
* Fix the parameter passing problem of setDefaultCredentials to make it perform data initialization normally ([#288](https://github.com/billchurch/webssh2/issues/288)) ([40cbb35](https://github.com/billchurch/webssh2/commit/40cbb35616fa17c1c36520690f40ebce0b488153))
* invalid css in style.css ([ffab534](https://github.com/billchurch/webssh2/commit/ffab5345dcb568fa2bb50a96f403174ad3728286))
### package
* bump xterm to 4.18.0 ([84c09ec](https://github.com/billchurch/webssh2/commit/84c09ec8a1909e4bbd0051debdbb905276a4245e))
### [0.4.6](https://github.com/billchurch/WebSSH2/compare/v0.2.10-0...v0.4.6) (2022-04-17) ### [0.4.6](https://github.com/billchurch/WebSSH2/compare/v0.2.10-0...v0.4.6) (2022-04-17)

2
app/package-lock.json generated
View file

@ -1,6 +1,6 @@
{ {
"name": "webssh2", "name": "webssh2",
"version": "0.4.7-pre-0", "version": "0.4.6",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {

View file

@ -1,6 +1,6 @@
{ {
"name": "webssh2", "name": "webssh2",
"version": "0.4.7-pre-0", "version": "0.4.6",
"ignore": [ "ignore": [
".gitignore" ".gitignore"
], ],

View file

@ -1,6 +1,6 @@
{ {
"bootstrap-sha": "cf4d8c384740de98f3875b9d5362142b74db0bd3", "bootstrap-sha": "cf4d8c384740de98f3875b9d5362142b74db0bd3",
"release-as": "0.4.7-pre-0", "release-as": "0.4.7-pre-1",
"changelogPath": "CHANGELOG.md", "changelogPath": "CHANGELOG.md",
"include-v-in-tags": false, "include-v-in-tags": false,
"prerelease": true, "prerelease": true,