Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

Commit 5902268

Browse files
authored
Merge pull request #179 from storyblok/chore/ci-pkg-pr-new
chore: ci pkg pr new
2 parents d1a8adf + df4aaef commit 5902268

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

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

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Publish Any Commit
2+
on:
3+
push:
4+
tags:
5+
- '!**'
6+
branches:
7+
- '**'
8+
9+
env:
10+
PNPM_CACHE_FOLDER: .pnpm-store
11+
HUSKY: 0 # Bypass husky commit hook for CI
12+
13+
permissions: {}
14+
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.event.number }}
17+
cancel-in-progress: true
18+
19+
jobs:
20+
build:
21+
runs-on: ubuntu-latest
22+
strategy:
23+
matrix:
24+
node-version: [20]
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v4
28+
29+
- run: npm i -g --force corepack && corepack enable
30+
- uses: actions/setup-node@v4
31+
with:
32+
node-version: ${{ matrix.node-version }}
33+
cache: pnpm
34+
- name: Install dependencies
35+
run: pnpm install
36+
- name: Build
37+
run: pnpm build
38+
- run: pnpx pkg-pr-new publish --compact --pnpm

0 commit comments

Comments
 (0)