Skip to content

5.0.1

5.0.1 #111

Workflow file for this run

name: Npm Latest Publish
on:
push:
tags:
- v*
jobs:
publish:
name: Build And Publish
runs-on: ubuntu-latest
steps:
- name: Get Node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Checkout Code
uses: actions/checkout@v4
- name: Install
uses: borales/actions-yarn@v5
with:
cmd: install
- name: Build
uses: borales/actions-yarn@v5
with:
cmd: build
- name: Publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}