Skip to content

v3.2.0

v3.2.0 #35

Workflow file for this run

name: Node.js Package
on:
release:
types: [released]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Use Node.js v20
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
cache: pnpm
- name: Build
run: |
pnpm build
env:
NODE_OPTIONS: --max-old-space-size=6144
- 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 }}