Skip to content

Fix npm run test command to pass CI/CD #2

Fix npm run test command to pass CI/CD

Fix npm run test command to pass CI/CD #2

on:
push:
branches: main
jobs:
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: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}