Skip to content

feat: setup pkg.pr.new #1

feat: setup pkg.pr.new

feat: setup pkg.pr.new #1

Workflow file for this run

name: Prerelease
on:
push:
branches:
- "**"
tags:
- "!**"
pull_request:
jobs:
publish:
name: Publish Prerelease
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node LTS
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
cache-dependency-path: package-lock.json
- name: Install Depedencies
run: npm ci
- name: Publish to pkg.pr.new
run: npx pkg-pr-new publish