Skip to content
Merged
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
29 changes: 14 additions & 15 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,35 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version: '24.x'
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'

- name: Restore dependencies and turbo cache
- name: Restore turbo cache
uses: actions/cache@v4
with:
path: |
node_modules
*/*/node_modules
.turbo
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}

- name: Update npm registry
run: npm run update:registry
path: .turbo
key: ${{ runner.os }}-turbo-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-turbo-

- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile

- name: Build
run: npm run build
run: pnpm run build

- name: Format
run: npm run format:check
run: pnpm run format:check

- name: Lint
run: npm run lint:check
run: pnpm run lint:check

- name: Test
run: npm run test
run: pnpm run test
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ jobs:
with:
fetch-depth: '0'

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version: '24.x'
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'

- name: Git Identity
run: |
Expand All @@ -40,11 +43,8 @@ jobs:
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
git pull

- name: Update npm registry
run: npm run update:registry

- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile

# Fixed versioning: one changeset entry propagates the chosen bump level
# to the whole @baloise/web-app-* group. This preserves the manual
Expand All @@ -64,10 +64,10 @@ jobs:
run: npx changeset version

- name: Build
run: npm run build
run: pnpm run build

- name: Documentation
run: npm run docs
run: pnpm run docs

- uses: EndBug/add-and-commit@v9
with:
Expand All @@ -82,7 +82,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Update Lock files
run: npm run update:lock
run: pnpm install --lockfile-only

- uses: EndBug/add-and-commit@v9
with:
Expand Down
Loading
Loading