Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit 0fbe707

Browse files
authored
Merge pull request #126 from alvarosaburido/bugfix/declaration-files-not-building
Bugfix/declaration files not building
2 parents 1f86500 + c7dfd01 commit 0fbe707

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

.github/workflows/ci.yml

+3-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Release
22
on:
33
push:
4-
branches: [$default-branch, next]
4+
branches:
5+
- main
6+
- next
57
jobs:
68
release:
79
name: Run test and Release
@@ -15,11 +17,3 @@ jobs:
1517
node-version: 12
1618
- name: Install dependencies
1719
run: npm ci
18-
- name: Build Library
19-
run: npm run build
20-
- name: Release
21-
env:
22-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
24-
CI: true
25-
run: npm run semantic-release

.github/workflows/release.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Release
22
on:
33
push:
4-
branches: [$default-branch, next]
4+
branches:
5+
- main
6+
- next
57
jobs:
68
release:
79
name: Run test and Release
@@ -17,6 +19,8 @@ jobs:
1719
run: npm ci
1820
- name: Build Library
1921
run: npm run build
22+
- name: Build Types Declarations
23+
run: npm run build:dts
2024
- name: Release
2125
env:
2226
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

rollup.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import pkg from './package.json';
1212
const name = 'as-dynamic-forms';
1313

1414
const banner = `/*!
15-
* ${pkg.name} v${pkg.version}
15+
* ${pkg.name} v1.x.x
1616
* (c) ${new Date().getFullYear()} Alvaro Saburido
1717
* @license MIT
1818
*/`;

0 commit comments

Comments
 (0)