Skip to content

Release v0.2.2

Release v0.2.2 #4

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
id-token: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v5
with:
version: 11.0.6
- uses: actions/setup-node@v5
with:
node-version: 24
cache: pnpm
registry-url: https://registry.npmjs.org
- run: pnpm install --frozen-lockfile
- run: pnpm lint && pnpm format && pnpm typecheck && pnpm test && pnpm build && pnpm verify-pack
- run: pnpm pack
- run: shasum -a 256 *.tgz > checksums.txt
# npm trusted publishing uses GitHub OIDC via `permissions: id-token: write`.
# Configure npmjs.com Trusted Publisher for this package with:
# owner/repo: jvm/raindrop-cli
# workflow filename: release.yml
- run: npm publish --access public
- uses: softprops/action-gh-release@v3
with:
files: |
*.tgz
checksums.txt