Skip to content

Create update-release.yml #1

Create update-release.yml

Create update-release.yml #1

Workflow file for this run

name: Update NPM Release
on:
push:
branches:
- fix-beta-tag
jobs:
build-sdk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: main
fetch-depth: 0
- uses: actions/setup-node@v1
with:
node-version: 14.17.6
registry-url: 'https://registry.npmjs.org'
- name: update beta tag
run: npm dist-tag add [email protected] beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: update to latest tag
run: npm dist-tag add [email protected] latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}