Skip to content

Commit

Permalink
Merge pull request #4 from ruromero/release-js
Browse files Browse the repository at this point in the history
chore: deploy packages
  • Loading branch information
ruromero authored Nov 14, 2023
2 parents d8d450a + fb90dcf commit 3a47484
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: char0n/swagger-editor-validate@v1
with:
definition-file: api/v4/openapi.yaml
deploy-package:
deploy-packages:
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -55,4 +55,5 @@ jobs:
- name: Build and Publish to GitHub Maven Packages
run: mvn -B deploy --file pom.xml
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ github.token }}
NODE_AUTH_TOKEN: ${{ github.token }}
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,16 @@ limitations under the License.]]>
<arguments>run compile</arguments>
</configuration>
</execution>
<execution>
<id>yarn publish</id>
<phase>deploy</phase>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>publish</arguments>
</configuration>
</execution>
</executions>
<configuration>
<nodeVersion>${node.version}</nodeVersion>
Expand Down
2 changes: 1 addition & 1 deletion src/filtered/js-api/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "exhort-js-api",
"name": "@RHEcosystemAppEng/exhort-api-spec",
"version": "${project.version}",
"description": "Red Hat Trusted Profile Analizer :: Exhort :: Javascript API",
"main": "index.js",
Expand Down

0 comments on commit 3a47484

Please sign in to comment.