Skip to content

Wasm re-tag npm

Wasm re-tag npm #1

name: Wasm re-tag npm
on:
workflow_dispatch:
inputs:
tag:
description: 'Tag to set'
required: true
version:
description: 'version to set'
required: true
jobs:
release-wasm:
runs-on: ubuntu-latest
environment: release
steps:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Run dist-tag
shell: sh
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_NOTARIZATION_TOKEN }}
run: |
npm dist-tag add @iota/notarization@${{ github.event.inputs.version }} ${{ github.event.inputs.tag }}