Wasm re-tag npm #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |