Skip to content

v0.170.8

v0.170.8 #583

Workflow file for this run

# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Publish Package to npmjs
on:
release:
types:
- published
permissions:
id-token: write
contents: read
jobs:
build-and-publish:
name: Build and Publish
runs-on: ubuntu-latest
steps:
- name: Checkout the branch
uses: actions/checkout@v7.0.0
- name: Install pnpm
uses: pnpm/action-setup@v6.0.9
with:
version: latest
- name: Setup Node.js environment
uses: actions/setup-node@v6.4.0
with:
node-version-file: .nvmrc
cache: pnpm
registry-url: https://registry.npmjs.org/
- name: Update npm
run: npm install -g npm@latest
- name: Install dependencies
run: pnpm install
- name: Build & publish the app
run: pnpm publish --no-git-checks
- name: Notify Discord of Release
uses: SethCohen/github-releases-to-discord@v1.20.0
with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
reduce_headings: true
continue-on-error: true