Skip to content

Fix token auth

Fix token auth #99

Workflow file for this run

on:
push:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
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
if: github.ref == 'refs/heads/main'
with:
token: ${{ secrets.NPM_TOKEN }}