Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
34 changes: 0 additions & 34 deletions .github/workflows/ci-build.yml

This file was deleted.

11 changes: 9 additions & 2 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ on:
branches-ignore:
- main

permissions:
contents: write
id-token: write

jobs:
build:
uses: ./.github/workflows/ci-build.yml
ci:
uses: amerani/cicd/.github/workflows/ci-npm.yml@main
secrets: inherit
with:
test: npm run test:ci
45 changes: 10 additions & 35 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,14 @@ on:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Test
run: npm run test:ci

- name: Release
uses: changesets/action@v1
with:
publish: npm run release
setupGitUser: false
commitMode: github-api
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
permissions:
contents: write
id-token: write

jobs:
cd:
uses: amerani/cicd/.github/workflows/cd-npm.yml@main
secrets: inherit
with:
test: npm run test:ci
publish: npm run release
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# react-json-chunked

## 0.3.8

### Patch Changes

- uses amerani/cicd templates

## 0.3.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-json-chunked",
"version": "0.3.7",
"version": "0.3.8",
"description": "A React component for streaming JSON using chunked Transfer-Encoding",
"type": "module",
"files": [
Expand Down