mirror of
https://github.com/logos-storage/logos-storage-js.git
synced 2026-08-02 12:23:20 +00:00
Add CI
This commit is contained in:
parent
df64af08e5
commit
9925c1f49d
29
.github/workflows/ci.yaml
vendored
Normal file
29
.github/workflows/ci.yaml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
name: Publish
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
node_version: 22
|
||||
|
||||
permissions:
|
||||
id-token: write
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ env.node_version }}
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
|
||||
- run: npm ci
|
||||
|
||||
- run: npm test
|
||||
@ -6,6 +6,11 @@ The SDK has a small bundle size and support tree shaking.
|
||||
|
||||
The SDK is currently under early development and the API can change at any time.
|
||||
|
||||
[](https://opensource.org/licenses/Apache-2.0)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](#stability)
|
||||
[](https://github.com/codex-storage/codex-js/actions/workflows/ci.yml?query=branch%3Amaster)
|
||||
|
||||
## Breaking changes
|
||||
|
||||
- Version 0.1.0 introduces [upload strategy](#upload) to support browser and Node JS.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user