Skip to content

Commit

Permalink
fix build process as per README
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Fisher <[email protected]>
  • Loading branch information
bacongobbler committed May 10, 2024
1 parent dfc738b commit 85fb7cb
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@ jobs:
packages: write
name: publish to GitHub Packages
runs-on: ubuntu-latest
defaults:
run:
working-directory: clients/typescript-angular
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
registry-url: 'https://npm.pkg.github.com'
- name: publish to GitHub Packages
run: npm publish
working-directory: clients/typescript-angular
- run: npm install
- run: npm run build
- run: npm publish dist
env:
NODE_AUTH_TOKEN: ${{ github.token }}
1 change: 1 addition & 0 deletions clients/rust/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.gitignore
.openapi-generator-ignore
.travis.yml
Cargo.toml
README.md
Expand Down
1 change: 1 addition & 0 deletions clients/typescript-angular/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.gitignore
.openapi-generator-ignore
README.md
api.module.ts
api/accounts.service.ts
Expand Down
4 changes: 2 additions & 2 deletions clients/typescript-angular/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## @fermyon/ngx-cloud-openapi@0.1.0
## @fermyon/ngx-cloud-openapi@0.1.1

### Building

Expand All @@ -19,7 +19,7 @@ Navigate to the folder of your consuming project and run one of next commands.
_published:_

```
npm install @fermyon/[email protected].0 --save
npm install @fermyon/[email protected].1 --save
```

_without publishing (not recommended):_
Expand Down
2 changes: 1 addition & 1 deletion clients/typescript-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fermyon/ngx-cloud-openapi",
"version": "0.1.0",
"version": "0.1.1",
"description": "OpenAPI client for @fermyon/ngx-cloud-openapi",
"author": "OpenAPI-Generator Contributors",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion config/typescript-angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"gitUserId": "fermyon",
"gitRepoId": "cloud-openapi",
"npmName": "@fermyon/ngx-cloud-openapi",
"npmVersion": "0.1.0"
"npmVersion": "0.1.1"
}

0 comments on commit 85fb7cb

Please sign in to comment.