Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
imcotton committed Jul 30, 2024
1 parent 9256417 commit 34c8671
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/bun.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Bundle

on: push

jobs:

publish:

runs-on: ubuntu-latest
timeout-minutes: 3

permissions:
contents: read
id-token: write

steps:

- uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Build the pkg
run: |-
mkdir ./dist
bun install
bun build ./src/main.ts --target=node --format=esm --outfile=./dist/bin.js
bun build ./src/main.ts --target=node --format=esm --outfile=./dist/bin.min.js --minify
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
path: ./dist

7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "at-key-gen-ssh-ed25519",
"version": "1.0.0",
"dependencies": {
"micro-key-producer": "~0.7.0"
}
}

0 comments on commit 34c8671

Please sign in to comment.