Skip to content

release v4.6.0

release v4.6.0 #9

name: publish
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: https://registry.npmjs.org/
- name: Install
run: npm install
- name: Test
run: npm test
- name: Push release to npm (public)
run: npm publish --access public .
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}