Skip to content

Commit

Permalink
publish package
Browse files Browse the repository at this point in the history
  • Loading branch information
nudded committed Nov 29, 2024
1 parent e57cfd3 commit e7a7a8e
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 16 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
working-directory: ./expression-js
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Install dependencies
Expand All @@ -27,3 +31,7 @@ jobs:
run: npm run build
- name: Package
run: wasm-pack pack
- name: Publish
run: wasm-pack publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions expression-js/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[package]
name = "expression-js"
name = "lago-expression"
version = "0.1.0"
edition = "2021"


[lib]
crate-type = ["cdylib"]

Expand Down
3 changes: 2 additions & 1 deletion expression-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions expression-js/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "lago-expression",
"scripts": {
"build": "webpack",
"serve": "webpack serve"
Expand Down

0 comments on commit e7a7a8e

Please sign in to comment.