Skip to content

chore(workflows): publish npmjs #117

chore(workflows): publish npmjs

chore(workflows): publish npmjs #117

Workflow file for this run

# @deprecated use semantic-release
name: npm-publish
on:
push:
tags:
- "v*"
jobs:
npm-publish:
if: github.repository == 'snolab/CapsLockX'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: bun install
- run: npm publish --provenance --access public
env:f

Check failure on line 20 in .github/workflows/npm-publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/npm-publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}