Skip to content

Commit f57ee0d

Browse files
[Account-2380] Add alert banner for ps_account update (#192)
* feat: added a banner to alert to user about an important module update * feat: added dirty trick to have a valid link for updating the module * test: added unit tests for AlertUpdateToLatest * fix: ci * feat: update publish.yml * feat: fix pnpm version to 9.4.0 --------- Co-authored-by: atourneriePresta <[email protected]> Co-authored-by: atourneriePresta <[email protected]>
1 parent 6cc5bd7 commit f57ee0d

24 files changed

+7372
-6240
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
uses: actions/checkout@v3
2020

2121
- name: Setup pnpm
22-
uses: pnpm/action-setup@v2
22+
uses: pnpm/action-setup@v4
2323
with:
24-
version: 8.x.x
24+
version: 9.4.0
2525

2626
- name: Setup node env ${{ matrix.node-version }} 🏗
2727
uses: actions/setup-node@v3

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,15 @@ jobs:
2525
- name: Setup pnpm
2626
uses: pnpm/action-setup@v2
2727
with:
28-
version: 8.x.x
28+
version: 9.4.0
2929

3030
- name: Setup node env 🏗
3131
uses: actions/setup-node@v3
3232
with:
33-
node-version: lts/hydrogen
34-
registry-url: https://registry.npmjs.org/
33+
node-version: ${{ matrix.node-version }}
3534
cache: "pnpm"
35+
registry-url: 'https://registry.npmjs.org'
36+
scope: '@prestashopcorp'
3637

3738
- name: Install dependencies 👨🏻‍💻
3839
run: pnpm i --frozen-lockfile

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
},
2424
"dependencies": {
2525
"@prestashopcorp/puik": "1.5.1",
26+
"compare-versions": "^6.1.1",
2627
"joi": "^17.9.2",
2728
"rimraf": "^5.0.1",
2829
"zoid": "9.0.63"

0 commit comments

Comments
 (0)