Skip to content

Merge pull request #54 from crswll/action-updates #27

Merge pull request #54 from crswll/action-updates

Merge pull request #54 from crswll/action-updates #27

Workflow file for this run

name: npm-publish
on:
push:
branches:
- main
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test
- uses: pascalgn/npm-publish-action@1.3.9
with:
publish_command: npm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}