Publish Release No Database #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |