Skip to content

Commit

Permalink
feat(app): initial publish
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMcAssey committed Jul 23, 2023
1 parent a3f9bb9 commit 0b15a6d
Show file tree
Hide file tree
Showing 12 changed files with 11,009 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish to npm
on:
push:
branches:
- 'main'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm ci
- name: Publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
Expand Down Expand Up @@ -128,3 +127,4 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
.idea/
11 changes: 11 additions & 0 deletions .releaserc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- - "@semantic-release/changelog"
- changelogFile: CHANGELOG.md
- - "@semantic-release/git"
- assets:
- CHANGELOG.md
message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
- "@semantic-release/github"
- "@semantic-release/npm"
Empty file added CHANGELOG.md
Empty file.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# tflite-wasm
# tflite WASM models
TFLite WASM model
21 changes: 21 additions & 0 deletions dist/tflite-simd.js

Large diffs are not rendered by default.

Binary file added dist/tflite-simd.wasm
Binary file not shown.
21 changes: 21 additions & 0 deletions dist/tflite.js

Large diffs are not rendered by default.

Binary file added dist/tflite.wasm
Binary file not shown.
Binary file added models/selfie_segmentation_landscape.tflite
Binary file not shown.
Loading

0 comments on commit 0b15a6d

Please sign in to comment.