Skip to content

Commit aff9391

Browse files
Merge pull request #29 from devgateway/fix/fix-ci
2 parents 36775b4 + 7cd7d07 commit aff9391

File tree

8 files changed

+1541
-50
lines changed

8 files changed

+1541
-50
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,26 @@ jobs:
2828
working-directory: wp-react-lib
2929
run: npm install
3030

31+
- name: Run TypeScript Check
32+
working-directory: wp-react-lib
33+
run: npm run typecheck
34+
3135
- name: Build
3236
working-directory: wp-react-lib
3337
run: npm run build
3438

35-
- name: Create release
36-
working-directory: wp-react-lib
37-
run: npx semantic-release
39+
- name: Create Release
40+
uses: changesets/action@v1
41+
id: release
42+
with:
43+
version: pnpm run version
44+
publish: pnpm exec changeset publish --git-tag
45+
commit: "chore(release): update version"
46+
title: "chore(release): update version"
47+
cwd: wp-react-lib
3848
env:
3949
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4050
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
51+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4152

4253

wp-react-lib/.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
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+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
"@devgateway/wp-react-lib": minor
3+
---
4+
5+
# Changelog
6+
7+
### ⚙️ Miscellaneous Tasks
8+
9+
- *(TCDICORE-234)* Update dependencies
10+
- *(DVIZ-42)* Migrate consumers and some components to typescript
11+
- *(DVIZ-42)* Migrate from babel to unbuild (rollup)
12+
- *(DVIZ-42)* Remove unused packages
13+
- UI enhancements
14+
- TCDICORE-146 fix double loader
15+
- TCDICORE-151 remove unused variables
16+
- TCDICORE-151 add missing env variable
17+
- *(TCDICORE-195)* Add settings context export
18+
19+
### Breaking Change
20+
21+
- Introduction of TypeScript support requires consumers to update their build configuration
22+
- TypeScript types are now available for all components and utilities
23+
24+
### 🐛 Bug Fixes
25+
26+
- Issue with opening pages in some iOS devices

wp-react-lib/.releaserc.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)