Skip to content

ci: branches ignore #316

ci: branches ignore

ci: branches ignore #316

Workflow file for this run

name: Publish Any Commit

Check failure on line 1 in .github/workflows/pkg.pr.new.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pkg.pr.new.yml

Invalid workflow file

you may only define one of `branches` and `branches-ignore` for a single event
on:
pull_request:
branches: main
branches-ignore:
- 'renovate/**'
paths-ignore:
- 'docs/**'
- 'playground/**'
- 'packages/nuxt/playground/**'
push:
branches:
- '**'
branches-ignore:
- 'renovate/**'
tags:
- '!**'
paths-ignore:
- 'docs/**'
- 'playground/**'
- 'packages/nuxt/playground/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm
- name: Install
run: pnpm install --frozen-lockfile
- name: Prepare Nuxt
run: pnpm -C ./nuxt dev:prepare
- name: Build
run: pnpm build
- name: Build plugins
run: pnpm build:plugins
- name: Release
run: pnpm dlx pkg-pr-new publish --compact --pnpm . './plugins/*' ./nuxt