Skip to content

Commit d15cb6e

Browse files
committed
Build before publishing
1 parent a5812f4 commit d15cb6e

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

.github/workflows/publish.yml

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ jobs:
6565
working-directory: ./src
6666
run: |
6767
cp ../README.md ../CHANGELOG.md .
68+
npm install --only=dev
69+
npm run build
6870
npm publish --tag ${{ env.npm_tag_version }} --access public
6971
env:
7072
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

config.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ generatorName: typescript
22
outputDir: /local/src
33
inputSpec: /local/openapi.clean.json
44
templateDir: /local/templates
5+
gitUserId: "thinger-io"
6+
gitRepoId: "thinger-node"
57
additionalProperties:
68
disallowAdditionalPropertiesIfNotPresent: false
79
licenseName: "MIT"

openapi.json

+1-1
Large diffs are not rendered by default.

src/package.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)