Skip to content

Release @doist/todoist-cli package #30

Release @doist/todoist-cli package

Release @doist/todoist-cli package #30

Workflow file for this run

name: Release @doist/todoist-cli package
on:
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
- name: Ensure npm 11.5.1 or later is installed
run: npm install -g npm@latest
- name: Install dependencies
run: npm ci
- name: Build package
run: npm run build
- name: Type check
run: npm run type-check
- name: Lint check
run: npm run lint:check
- name: Format check
run: npm run format:check
- name: Run tests
run: npm test
- name: Publish to npm
run: npm publish --provenance --access public