Skip to content

Commit

Permalink
updating some npm dependencies and modifying workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
shibme committed Oct 30, 2024
1 parent 674f294 commit f2c3cbf
Show file tree
Hide file tree
Showing 4 changed files with 971 additions and 1,262 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Publish Xipher Web

on:
push:
branches: ["main"]
workflow_dispatch:
workflow_call:
inputs:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ jobs:
test:
name: Running Tests
uses: ./.github/workflows/test.yaml
secrets: inherit

release:
name: Release
name: "Releasing Xipher: ${{ github.ref_name }}"
needs: test
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -76,4 +75,5 @@ jobs:
name: Run GitHub Pages Workflow
needs: release
uses: ./.github/workflows/pages.yaml
secrets: inherit
with:
ref: ${{ github.ref }}
2 changes: 1 addition & 1 deletion internal/wasm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func main() {
js.Global().Set("xipherNewSecretKey", unifiedReturn(newSecretKey))
js.Global().Set("xipherGetPublicKey", unifiedReturn(getPublicKey))

// String Encryption Functions
// Encryption Functions
js.Global().Set("xipherEncryptStr", unifiedReturn(encryptStr))
js.Global().Set("xipherNewStreamEncrypter", unifiedReturn(newStreamEncrypter))
js.Global().Set("xipherEncrypterWrite", unifiedReturn(writeToEncrypter))
Expand Down
Loading

0 comments on commit f2c3cbf

Please sign in to comment.