Skip to content

1.4.0

1.4.0 #5

Workflow file for this run

name: Publish to npm
on: [push]
permissions:
contents: read
id-token: write # Required for OIDC token exchange with npm
jobs:
publish:
name: Publish Package to npm
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
always-auth: false
- name: Update npm
run: npm install -g npm@latest
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Publish to npm (with OIDC)
run: npm publish