Skip to content

(πŸš€) Publish

(πŸš€) Publish #18

Workflow file for this run

name: (πŸš€) Publish
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: (πŸ”Ί) Checkout
uses: actions/checkout@v4
- name: (πŸ”Ί) Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: (πŸ”Ί) Installing Dependencies...
run: pnpm install .
- name: (πŸ”Ί) Testing...
run: pnpm test
- name: (πŸ”Ί) Building...
run: |
pnpm build
- name: (πŸ”Ί) Publishing... (to NPM)
run: |
pnpm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}