Skip to content

Commit 8e857ec

Browse files
authored
3.0.0 Bump react-piwik-pro (#28)
* feat: base library * chore: bump react-piwik-pro
1 parent 29a2b09 commit 8e857ec

29 files changed

+5620
-1352
lines changed

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish
2+
on:
3+
release:
4+
types: [released]
5+
6+
jobs:
7+
publish:
8+
timeout-minutes: 30
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
13+
14+
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
15+
with:
16+
node-version: '20'
17+
registry-url: 'https://registry.npmjs.org'
18+
19+
- name: Install modules
20+
run: npm ci
21+
22+
- name: Build
23+
run: npm run build
24+
25+
- name: Publish
26+
run: npm publish
27+
env:
28+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_PUB }}
29+

.github/workflows/development.yml renamed to .github/workflows/on-push.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
name: Monorepo development pipeline
1+
name: Test
22

33
on:
4+
push:
5+
branches:
6+
- master
47
pull_request:
5-
branches: [master]
6-
workflow_dispatch:
8+
branches:
9+
- master
710

811
jobs:
9-
build-library:
12+
run-tests:
13+
timeout-minutes: 30
1014
runs-on: ubuntu-latest
11-
timeout-minutes: 5
15+
1216
steps:
13-
- name: Checkout
14-
uses: actions/checkout@v3
15-
with:
16-
fetch-depth: 0
17+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
1718

18-
- name: Use NodeJS 18
19-
uses: actions/[email protected]
19+
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
2020
with:
21-
node-version: "18"
22-
cache: "npm"
21+
node-version: '20'
22+
registry-url: 'https://registry.npmjs.org'
2323

2424
- name: Install library dependencies
2525
run: npm ci

.github/workflows/publish.yml

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

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,5 @@ dist
133133
.DS_Store
134134
.idea
135135
package
136+
137+
docs_raw

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
# CHANGELOG
22

3+
* [3.0.0](#3.0.0)
34
* [2.1.1](#2.1.1)
45
* [2.1.0](#2.1.0)
56
* [2.0.0](#2.0.0)
67
* [1.0.1](#1.0.1)
78
* [1.0.0](#1.0.0)
89

10+
## 3.0.0
11+
- Minimum supported node version: 18
12+
- Remove deprecated `accountName` prop from `PiwikProProvider`
13+
- Improve types
14+
915
## 2.1.1
1016

1117
- Use new react-piwik-pro package version (1.3.3) with support of deprecated ecommerce methods.

0 commit comments

Comments
 (0)