Skip to content

Try with empty node auth token #27

Try with empty node auth token

Try with empty node auth token #27

Workflow file for this run

name: Publish to pkg.vc
on:
pull_request:
workflow_dispatch:
inputs:
branch:
description: 'Branch to publish from'
required: true
default: 'main'
type: string
permissions:
contents: read
pull-requests: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.branch || github.ref }}
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version: '24'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build package
run: pnpm build
- name: Publish to pkg.vc
uses: pkg-vc/publish-action@main
with:
organization: itznotabug
directory: ./
secret: ${{ secrets.PKG_VC_SECRET }}
github-token: ${{ secrets.GITHUB_TOKEN }}