SP-706 Adds local cryptography to SDK HTML report #26
Workflow file for this run
This file contains 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: Publish Package to npmjs | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Publish new package to npmjs | |
run: | | |
npm ci | |
npm run build | |
npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Create Draft Release ${{ github.ref_type }} - ${{ github.ref_name }} | |
if: github.ref_type == 'tag' && startsWith(github.ref_name, 'v') | |
uses: softprops/action-gh-release@v1 | |
with: | |
draft: true | |