Skip to content

Publish Release No Database #2

Publish Release No Database

Publish Release No Database #2

name: Publish Release No Database
on:
release:
types: [released]
jobs:
npm-publish:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout Repositories
uses: actions/checkout@v4
- name: Install Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
- name: Install dependencies
uses: ./packages/actions/pnpm
- name: Publish package
if: github.repository_owner == 'sitcommunity'
run: |
pnpm --filter ./packages/discord-afk-js_nodb i
pnpm --filter ./packages/discord-afk-js_nodb publish --provenance --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}