-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 05b1431
Showing
12 changed files
with
832 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @adeherysh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## What does this PR do? | ||
_Place what this pull request changes and anything affected. If your PR block or require another PR, also need to mention here_ | ||
|
||
## Why are we doing this? Any context or related work? | ||
_You may put your link or another here_ | ||
|
||
## Where should a reviewer start? | ||
_optional -- if your changes affected so much files, it is encouraged to give helper for reviewer_ | ||
|
||
## Screenshots | ||
_optional -- You may put the database, sequence or any diagram needed_ | ||
|
||
## Manual testing steps? | ||
_Steps to do tests. including all possible that can hape_ | ||
|
||
## Config changes | ||
_optional -- If there's config changes, put it here_ | ||
|
||
## Deployment instructions | ||
_optional -- Better to put it if there's some 'special case' for deployment_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
components: rustfmt | ||
|
||
- name: Install wasm-pack | ||
run: cargo install wasm-pack | ||
|
||
- name: Build WASM package | ||
run: wasm-pack build --target bundler | ||
|
||
semgrep: | ||
runs-on: ubuntu-latest | ||
if: github.actor != 'kitabisaengineer' && !endsWith(github.actor, '[bot]') | ||
container: | ||
image: semgrep/semgrep | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Run Semgrep | ||
run: semgrep scan --config auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Publish | ||
|
||
on: | ||
release: | ||
types: [released] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
components: rustfmt | ||
|
||
- name: Install wasm-pack | ||
run: cargo install wasm-pack | ||
|
||
- name: Build WASM package | ||
run: wasm-pack build --target bundler | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
registry-url: 'https://registry.npmjs.org' | ||
scope: '@kitabisa' | ||
|
||
- name: Install dependencies | ||
working-directory: pkg | ||
run: npm install | ||
|
||
- name: Publish to npm | ||
working-directory: pkg | ||
run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Release Please | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release-please: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Release please | ||
uses: googleapis/release-please-action@v4 | ||
with: | ||
release-type: rust | ||
token: ${{ secrets.RELEASE_PLEASE_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/target |
Oops, something went wrong.