Skip to content
Open
Show file tree
Hide file tree
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
27 changes: 27 additions & 0 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish Package to npmjs
on:
workflow_dispatch:
inputs:
wombat_token:
description: 'Wombat token for releasing on NPM'
required: true
type: string

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: "22.x"
registry-url: "https://wombat-dressing-room.appspot.com/"
- run: yarn install --frozen-lockfile
- run: yarn run build
- run: npm publish --provenance --access public --verbose
env:
NODE_AUTH_TOKEN: ${{ inputs.wombat_token }}
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.0-rc3
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "safevalues",
"version": "1.0.0",
"version": "1.0.0-rc3",
"description": "Safe builders for Trusted Types values",
"repository": "https://github.com/google/safevalues",
"author": "ISE Web Hardening Team",
Expand Down
Loading