Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2
updates:
- package-ecosystem: "npm"
- package-ecosystem: "pnmp"
directory: "/"
schedule:
interval: "daily"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-build-custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install dependencies
run: npm install
run: pnmp install
working-directory: ./ab_platform_web

# Webpack
- name: Webpack build
run: npm run build:${{ inputs.build_type }}
run: pnmp run build:${{ inputs.build_type }}
working-directory: ./ab_platform_web
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,20 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ matrix.branch }}

- run: npm i
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
cache-dependency-path: ab_platform_web/pnpm-lock.yaml
- uses: pnpm/action-setup@v4
with:
version: 11.0.6

- run: pnpm install --frozen-lockfile
working-directory: ./ab_platform_web

- name: Webpack
run: npm run build:${{ matrix.webpack }}
run: pnpm run build:${{ matrix.webpack }}
working-directory: ./ab_platform_web

# webpack expects the folder to be called "web" ab-install action expects "ab_service_web"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
ref: master

- name: Install NPM Dependencies
run: npm i
- name: Install pnmp Dependencies
run: pnmp i
working-directory: ./ab_platform_web

- name: Run Webpack
run: npm run build:update
run: pnmp run build:update
working-directory: ./ab_platform_web

# webpack expects the folder to be called "web" ab-install action expects "ab_service_web"
Expand All @@ -49,7 +49,7 @@ jobs:

- name: Run Lighthouse CI
run: |
npm install -g @lhci/cli puppeteer
pnmp install -g @lhci/cli puppeteer
lhci autorun
working-directory: ./ab_platform_web
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/merging-rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions:
jobs:
e2e-tests:
uses: ./.github/workflows/e2e-tests.yml
secrets: inherit
dependabot:
runs-on: ubuntu-latest
needs: e2e-tests
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr-merge-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
# Only run if the PR closed by merging and we have a label
if: ${{ needs.call-get-label.outputs.valid == 'true' }}
uses: ./.github/workflows/e2e-tests.yml
secrets: inherit
call-bump-version:
name: Version
# Only run if tests pass
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- run: npm install
- run: npm test

- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- uses: pnpm/action-setup@v4
with:
version: 11.0.6
- run: pnpm install --frozen-lockfile
- run: pnpm test
1 change: 1 addition & 0 deletions .github/workflows/update-core-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
name: Test
needs: call-update-sub
uses: ./.github/workflows/e2e-tests.yml
secrets: inherit
with:
ref: ${{ needs.call-update-sub.outputs.branch }}

Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "ab_platform_web",
"version": "1.23.7+c21502",
"packageManager": "pnpm@11.0.6",
"version": "1.23.5",
"description": "AppBuilder runtime environment for the Web client.",
"main": "index.js",
"scripts": {
Expand Down
Loading
Loading