Skip to content

Merge pull request #15 from SkwalExe/eslint #8

Merge pull request #15 from SkwalExe/eslint

Merge pull request #15 from SkwalExe/eslint #8

Workflow file for this run

name: Publish to npm
on:
workflow_dispatch:
push:
branches:
- 'main'
paths:
- 'package.json'
- 'package-lock.json'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install --include=dev
- run: npm run build
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}