Skip to content

Commit

Permalink
feat: npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdelahunt committed Nov 29, 2022
1 parent ba1de8c commit a1b005b
Show file tree
Hide file tree
Showing 209 changed files with 32,578 additions and 15,780 deletions.
Binary file added .DS_Store
Binary file not shown.
35 changes: 35 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: npm-publish
on:
workflow_dispatch:
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node.js 16.3.0
uses: actions/setup-node@v3
with:
node-version: 16.3.0
registry-url: "https://registry.npmjs.org"
- run: |
cd app-services-sdk-js
yarn install
yarn build
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4
# - name: Validate Tag
# run: |
# cd app-services-sdk-js
# yarn semver $GITHUB_REF_SLUG
- name: Update versions of packages
run: |
cd app-services-sdk-js
yarn setupRelease
- name: Publish packages
run: |
cd app-services-sdk-js
npm publish --workspace=packages
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} #
9 changes: 9 additions & 0 deletions .openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
**/package.json
**/tsconfig.json
**/.npmignore
**/.gitignore
**/README.md
**/.travis.yml
**/.openapi-generator-ignore
**/.openapi-generator
**/git_push.sh
24 changes: 0 additions & 24 deletions app-services-sdk-go/connectormgmt/apiv1/client/.gitignore

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.gitignore
.openapi-generator-ignore
.travis.yml
README.md
api/openapi.yaml
api_connector_clusters.go
api_connector_namespaces.go
Expand Down Expand Up @@ -70,7 +66,6 @@ docs/ServiceAccount.md
docs/ServiceConnectionSettings.md
docs/VersionMetadata.md
docs/VersionMetadataAllOf.md
git_push.sh
go.mod
go.sum
model_addon_parameter.go
Expand Down
8 changes: 0 additions & 8 deletions app-services-sdk-go/connectormgmt/apiv1/client/.travis.yml

This file was deleted.

196 changes: 0 additions & 196 deletions app-services-sdk-go/connectormgmt/apiv1/client/README.md

This file was deleted.

58 changes: 0 additions & 58 deletions app-services-sdk-go/connectormgmt/apiv1/client/git_push.sh

This file was deleted.

Loading

0 comments on commit a1b005b

Please sign in to comment.