0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-22 03:47:27 +01:00
svelte/.github/workflows/pkg.pr.new.yml
Paolo Ricciuti b5750ac667
chore: setup pkg.pr.new (#13891)
* chore: setup `pkg.pr.new`

* chore: let's try with this
2024-10-24 23:18:15 +02:00

25 lines
505 B
YAML

name: Publish Any Commit
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 18.x
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- run: pnpx pkg-pr-new publish --compact --no-template './packages/svelte'