Skip to content

feat: new version and no more api key #4

feat: new version and no more api key

feat: new version and no more api key #4

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- main
tags:
- "v*"
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "21"
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build # Update or remove this line depending on your build process
- name: Publish to npm
run: npm publish --access=public
env:

Check failure on line 33 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

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