Skip to content

Commit b414fd1

Browse files
committed
Added github files, readme
1 parent c8914c1 commit b414fd1

File tree

5 files changed

+78
-0
lines changed

5 files changed

+78
-0
lines changed

.github/codeowners

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @james-pre

.github/funding.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [james-pre]

.github/workflows/ci.yaml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Continuous Integration
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
workflow_call:
9+
pull_request:
10+
11+
jobs:
12+
ci:
13+
name: CI
14+
runs-on: ubuntu-latest
15+
defaults:
16+
run:
17+
shell: bash
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Set up Node.js
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: 22
26+
27+
- name: Install dependencies
28+
run: npm install
29+
30+
- name: Formatting
31+
run: npm run format:check
32+
33+
- name: Build
34+
run: npm run build --verbose

.github/workflows/release.yaml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Release
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
ci:
7+
name: CI Checks
8+
uses: ./.github/workflows/ci.yaml
9+
release:
10+
name: Publish
11+
needs: ci
12+
runs-on: ubuntu-latest
13+
permissions:
14+
id-token: write
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Setup npm authentication
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 22
23+
registry-url: https://registry.npmjs.org/
24+
25+
- name: Install dependencies
26+
run: npm install
27+
28+
- name: Build
29+
run: npm run build
30+
31+
- name: Publish
32+
run: npm publish --access=public --provenance
33+
env:
34+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# ZenFS bundles
2+
3+
`@zenfs/bundle` provides a collection of bundles for ZenFS packages.
4+
5+
> [!CAUTION]
6+
> **You should not use these bundles in production.**
7+
>
8+
> You will miss security updates for dependencies, tree shaking, and the ability to customize your own build process

0 commit comments

Comments
 (0)