Skip to content

fix: Remove debug step for NPM_TOKEN in npm-publish workflow #38

fix: Remove debug step for NPM_TOKEN in npm-publish workflow

fix: Remove debug step for NPM_TOKEN in npm-publish workflow #38

Workflow file for this run

name: NPM Package Publish
on:
push:
branches:
- main
- master
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: 'write'
packages: 'write'
actions: 'read'
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
- name: Build
run: npm run build
- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release