Skip to content

1.1.1

1.1.1 #6

Workflow file for this run

name: Lint and publish to npm
on:
release:
types: [published]
workflow_dispatch:
jobs:
lint-and-publish:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "24"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Publish to npm
run: npm publish --provenance --access public