Skip to content

Add bearer token auth to API endpoints exposed via tunnel #4

Add bearer token auth to API endpoints exposed via tunnel

Add bearer token auth to API endpoints exposed via tunnel #4

Workflow file for this run

name: Publish to npm
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org
- name: Ensure npm supports trusted publishing
run: npm install -g npm@latest
- name: Set version from git tag
run: npm version "${GITHUB_REF_NAME#v}" --no-git-tag-version
- run: npm ci
- run: npm test
- name: Publish to npm (OIDC trusted publishing)
run: npm publish --access public