Skip to content

v1.0.0-alpha.17

v1.0.0-alpha.17 #37

Workflow file for this run

name: Publish Package Version
on:
release:
types: [ published ]
branches:
- main
jobs:
release:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
registry-url: https://registry.npmjs.org/
node-version: '20'
- name: Clear npm cache
run: npm cache clean --force
- name: Show npm config
run: npm config list
- name: Publish to npm
run: npm publish --access public --registry=https://registry.npmjs.org/
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_ACCESS_TOKEN }}