Skip to content

v0.3.4

v0.3.4 #9

Workflow file for this run

name: "Publish NPM Package"
on:
release:
types: [published]
workflow_dispatch:
jobs:
publish:
name: ⬆️ Publish 📦
runs-on: ubuntu-latest
steps:
- uses: "actions/checkout@v4"
- name: Install Tools
uses: jdx/mise-action@v2
- name: create .npmrc
run: |
echo "//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}
registry=https://registry.npmjs.org/
always-auth=true" > ~/.npmrc
- name: Install Dependencies
run: pnpm install --prefer-offline --frozen-lockfile
- name: Build Project
run: pnpm run build
- run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}