Skip to content

docmd@0.3.8 🚀 (The Universal Engine Update) #10

docmd@0.3.8 🚀 (The Universal Engine Update)

docmd@0.3.8 🚀 (The Universal Engine Update) #10

Workflow file for this run

name: Publish package to npm
on:
release:
types: [published]
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: '22'
registry-url: 'https://registry.npmjs.org'
- name: Ensure recent npm
run: npm install -g npm@latest
- name: Install dependencies
run: npm ci
- name: Run failsafe
run: npm test
- name: Publish to npm
run: npm publish --access public
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}