Skip to content

Commit

Permalink
Review github release action (#68)
Browse files Browse the repository at this point in the history
Signed-off-by: Montse Ortega <mortegag@redhat.com>
  • Loading branch information
ammont82 authored Jan 14, 2025
1 parent c361648 commit 9550559
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,22 +72,4 @@ jobs:
curl -s -X POST -H "Authorization: token $GITHUB_TOKEN" \
-H "Content-Type: application/gzip" \
--data-binary @apps/agent/dist/agent-latest.tgz \
"${upload_url}?name=agent-latest.tgz"
publish-to-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Enable Corepack
run: |
corepack enable
corepack prepare yarn@4.5.0 --activate
- name: Publish to NPM
run: npm publish

"${upload_url}?name=agent-latest.tgz"

0 comments on commit 9550559

Please sign in to comment.