Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/ts_serialize_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
push:
tags: ["v*.*.*"]

# OIDC setup for trusted publishing
permissions:
id-token: write
contents: read

jobs:
test:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -76,9 +81,10 @@ jobs:
draft: false
prerelease: false

- name: Update npm to 11.5.1 or later for trusted publishing
run: npm install -g npm@latest

- name: Deploy to NPM
run: |
cd dist
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
Loading