Skip to content

Commit e5ce22d

Browse files
feat: add changeset
## Change description Add changeset in order to have proper releases of npm repos ## Type of change - [ ] Bug fix (fixes an issue) - [X] New feature (adds functionality) ## Related issues The aim is to have releases notes when publishing to npm ## Checklists ### Development - [X] Lint rules pass locally - [X] Application changes have been tested thoroughly - [X] Automated tests covering modified code pass ### Security - [X] Security impact of change has been considered - [X] Code follows company security practices and guidelines ### Code review - [X] Pull request has a descriptive title and context useful to a reviewer. Screenshots or screencasts are attached as necessary - [X] reviewers assigned
1 parent 0ab445a commit e5ce22d

85 files changed

Lines changed: 807 additions & 13 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/README.md

Lines changed: 8 additions & 0 deletions

.changeset/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "restricted",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.changeset/solid-eels-wash.md

Lines changed: 5 additions & 0 deletions

.github/workflows/changeset.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Changesets
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
env:
9+
CI: true
10+
11+
jobs:
12+
version:
13+
timeout-minutes: 15
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout code repository
17+
uses: actions/checkout@v4
18+
19+
- name: Setup pnpm
20+
uses: pnpm/action-setup@v4
21+
with:
22+
version: 9
23+
24+
25+
- name: Setup node.js
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: 20
29+
cache: 'pnpm'
30+
31+
- name: Install dependencies
32+
run: pnpm install
33+
34+
- name: Create and publish versions
35+
uses: changesets/action@v1
36+
with:
37+
commit: "chore: update versions"
38+
title: "chore: update versions"
39+
publish: pnpm ci:publish
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
43+
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)