Skip to content

v2.1.0

v2.1.0 #39

Workflow file for this run

name: Publish Package
on:
release:
types: [ created, edited ]
workflow_dispatch:
jobs:
tests:
uses: ./.github/workflows/tests.yml
build:
if: '!github.event.release.prerelease'
runs-on: ubuntu-latest
needs: [tests]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
registry-url: https://registry.npmjs.org
scope: "@mathix420"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm i
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}