Skip to content

1.1.0

1.1.0 #3

Workflow file for this run

# SPDX-FileCopyrightText: 2025 Erik Michelson <[email protected]>
#
# SPDX-License-Identifier: MIT
name: Publish to NPM
on:
release:
types:
- published
jobs:
publish:
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Publish package
run: npm publish --access public --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}