Skip to content

chore: release v0.0.2-beta.4 #4

chore: release v0.0.2-beta.4

chore: release v0.0.2-beta.4 #4

Workflow file for this run

name: Node.js Package
on:
push:
tags:
- "v*" # for bumpp
jobs:
publish:
runs-on: ubuntu-latest
steps:
# env
- name: Setup git
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
cache: pnpm
- name: Setup Install
run: pnpm install
# build
- name: Build
run: pnpm build
env:
NODE_OPTIONS: --max-old-space-size=6144
# npm-publish
- name: Publish Beta
if: contains(github.event.release.name, 'beta') == true
run: pnpm publish -r --access public --no-git-checks --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish
if: contains(github.event.release.name, 'beta') == false
run: pnpm publish -r --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# github release
- name: Github Release
uses: softprops/action-gh-release@v2
with:
# files: |
# CHANGELOG.md
# LICENSE
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Run Codeball on all new Pull Requests and Review Comments! 🚀
# For customizations and more documentation, see https://github.com/sturdy-dev/codeball-action
# For all configuration options see https://github.com/sturdy-dev/codeball-action/blob/v2/action.yml
- name: Codeball
uses: sturdy-dev/codeball-action@v2
with:
approvePullRequests: "true"
labelPullRequestsWhenApproved: "false"
labelPullRequestsWhenReviewNeeded: "true"
failJobsWhenReviewNeeded: "true"
codeSuggestionsFromComments: "true"