Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.github/actions/setup-zb/dist/*.js text eol=lf -diff -merge
12 changes: 12 additions & 0 deletions .github/actions/setup-zb/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Set up zb
description: Install zb
author: The zb Authors
inputs:
zb-version:
description: The zb version to download and use. Be sure to enclose this option in single quotation marks.
github-token:
description: Personal access token (PAT) used to get zb release information.
default: ${{ github.token }}
runs:
using: node24
main: dist/main.js
18 changes: 18 additions & 0 deletions .github/actions/setup-zb/build.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/**
* @license
* Copyright 2026 The zb Authors
* SPDX-License-Identifier: MIT
*/

import { platform } from '@actions/core';
import * as esbuild from 'esbuild';

await esbuild.build({
entryPoints: ['src/main.ts'],
bundle: true,
minify: false,
platform: 'node',
target: ['node24.0'],
format: 'cjs',
outfile: 'dist/main.js',
});
Loading