Skip to content

Commit

Permalink
Update release-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BFRS01757 authored Nov 5, 2024
1 parent 2c7bc17 commit 151102e
Showing 1 changed file with 0 additions and 46 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1 @@
name: Release Package

defaults:
run:
shell: bash
working-directory: packages/code-review-gpt

on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
outputs:
releases_created: ${{ steps.release-please.outputs.releases_created }}
steps:
- uses: google-github-actions/release-please-action@v3
id: release-please
with:
release-type: node
package-name: code-review-gpt
path: code-review-gpt
publish-package:
runs-on: ubuntu-latest
needs: release-please
if: ${{ needs.release-please.outputs.releases_created }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
registry-url: "https://registry.npmjs.org"
- name: 💫 Install dependencies
run: npm ci
- name: 🏡 Build
run: npm run build
- name: 🚀 Publish code-review-gpt
run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 151102e

Please sign in to comment.