Skip to content

v0.0.4

v0.0.4 #1

Workflow file for this run

name: Release Package
on:
release:
types: [ released ]
jobs:
publish-to-npm:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
cache-dependency-path: package-lock.json
- name: Install 💾
run: npm ci
- name: Build
run: npm run build
- name: Version ⬆️
run: npm version --new-version ${{ github.event.release.tag_name }} --no-git-tag-version
working-directory: dist
- name: Publish 🚂
run: npm publish --tag latest
working-directory: dist
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}