initial commit

This commit is contained in:
2024-10-29 11:55:53 -05:00
commit bcf508e88f
27 changed files with 4394 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
# These are supported funding model platforms
github: [jwetzell]
+6
View File
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'
+25
View File
@@ -0,0 +1,25 @@
name: Check @jwetzell/free-d builds
on:
pull_request:
branches:
- main
paths:
- 'packages/free-d/**'
jobs:
build-webui:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: Install Node.js dependencies
run: npm ci --workspace @jwetzell/free-d
- run: npm run build --workspace @jwetzell/free-d
+26
View File
@@ -0,0 +1,26 @@
name: Publish @jwetzell/free-d to npmjs
on:
push:
tags:
- 'free-d/*'
jobs:
publish-lib:
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: Install Node.js dependencies
run: npm ci --workspace @jwetzell/free-d
- name: Publish to NPM
run: npm publish --provenance --access=public --workspace @jwetzell/free-d
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}