Skip to content

removed accidental example md file lol, made som minor streamlining e… #4

removed accidental example md file lol, made som minor streamlining e…

removed accidental example md file lol, made som minor streamlining e… #4

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '21'
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Publish to npm
run: |
npm version patch -m "Release version %s"
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}