Skip to content

Commit 2f488f5

Browse files
committed
ci: re-add one-shot npm publish workflow for @filigran/chatbot
1 parent e7fb765 commit 2f488f5

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish @filigran/chatbot to NPM (one-shot)
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: read
11+
id-token: write
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v6
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v6
17+
with:
18+
node-version: '24'
19+
- name: Enable Corepack
20+
run: npm install -g corepack
21+
- name: Install dependencies
22+
run: yarn install --immutable
23+
- name: Build @filigran/chatbot
24+
run: yarn workspace @filigran/chatbot run build
25+
- name: Publish @filigran/chatbot to NPM
26+
working-directory: ./packages/filigran-chatbot
27+
run: yarn npm publish --access public
28+
env:
29+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30+
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)