Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add CI #1

Merged
merged 25 commits into from
Nov 10, 2024
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
fb449df
feat: add CI
TTtie Nov 10, 2024
efae003
fix: also check the submodules out
TTtie Nov 10, 2024
c44992b
fix: correct npm pack args
TTtie Nov 10, 2024
ab0f853
don't pack .gitmodules
TTtie Nov 10, 2024
b1ba252
feat: for transparency, let's print the libsodium rev as well
TTtie Nov 10, 2024
12c08e9
ci: add npm publish on release
TTtie Nov 10, 2024
7600328
whoops that directory must also be a thing
TTtie Nov 10, 2024
3b249af
npm release needs some permissions
TTtie Nov 10, 2024
7f6ea3d
although not technically needed, add contents: read permission to the…
TTtie Nov 10, 2024
b66b452
gitignore the wasm folder
TTtie Nov 10, 2024
a9c8c75
feat: add basic unit tests
TTtie Nov 10, 2024
e3bf177
fix: include peer deps when installing
TTtie Nov 10, 2024
de023bd
force spec reporter
TTtie Nov 10, 2024
0def707
separate build, test, and release into 3 steps
TTtie Nov 10, 2024
e6d42f0
whoops, use v4 of download-artifact action
TTtie Nov 10, 2024
431c7cd
only test is needed for release
TTtie Nov 10, 2024
80f8097
include peer deps when testing
TTtie Nov 10, 2024
2372ca1
accomodate for the flattenning of the WASM binary artifact
TTtie Nov 10, 2024
322db36
don't make the module import a test case, fail-fast
TTtie Nov 10, 2024
5df0680
use pnpm for installing test dependencies
TTtie Nov 10, 2024
a940d7c
(╯°□°)╯︵ ┻━┻
TTtie Nov 10, 2024
2fa76c7
unify the unit tests
TTtie Nov 10, 2024
a61aa1a
add subarray and WASM runtime tests
TTtie Nov 10, 2024
0d66fcb
correctly manage the memory during tests
TTtie Nov 10, 2024
e5c9617
remove type annotation
TTtie Nov 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
only test is needed for release
TTtie committed Nov 10, 2024
commit 431c7cd4fce0e106f872df330df37df083307669
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ jobs:
release:
name: ${{ github.event_name == 'release' && 'Release' || 'Pack' }} the project
runs-on: ubuntu-latest
needs: [build, test]
needs: test
steps:
- name: Setup Node.js
uses: actions/setup-node@v4