Skip to content

Commit 996a49d

Browse files
committed
Fix build and publish workflows
1 parent 8ab0ea8 commit 996a49d

2 files changed

Lines changed: 19 additions & 14 deletions

File tree

.github/workflows/ci-checks.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,24 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515

16-
strategy:
17-
matrix:
18-
node-version: [22.x]
19-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
20-
2116
steps:
22-
- uses: actions/checkout@v4
17+
- name: Checkout this repository
18+
uses: actions/checkout@v4
2319
- name: Checkout @reactodia/workspace
2420
uses: actions/checkout@v4
2521
with:
2622
repository: reactodia/reactodia-workspace
2723
path: ./reactodia-workspace
28-
- name: Use Node.js ${{ matrix.node-version }}
24+
- name: Use Node.js
2925
uses: actions/setup-node@v4
3026
with:
31-
node-version: ${{ matrix.node-version }}
27+
node-version: 22.x
3228
cache: 'npm'
33-
- name: Install dependencies
29+
- name: Install dependencies for this repository
3430
run: npm ci
35-
- name: Install dependencies for library
31+
- name: Install dependencies for @reactodia/workspace
3632
run: cd ./reactodia-workspace && npm ci
3733
- name: Typecheck
3834
run: npm run typecheck
39-
- name: Build
40-
run: npm run build
35+
- name: Test build
36+
run: npm run build -- --no-minify

.github/workflows/deploy-pages.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,22 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- name: Checkout this repository
15+
uses: actions/checkout@v4
16+
- name: Checkout @reactodia/workspace
17+
uses: actions/checkout@v4
18+
with:
19+
repository: reactodia/reactodia-workspace
20+
path: ./reactodia-workspace
1521
- name: Setup Node.js
1622
uses: actions/setup-node@v4
1723
with:
1824
node-version: 22.x
1925
cache: 'npm'
20-
- run: npm ci
26+
- name: Install dependencies for this repository
27+
run: npm ci
28+
- name: Install dependencies for @reactodia/workspace
29+
run: cd ./reactodia-workspace && npm ci
2130
- run: npm run typecheck
2231
- run: npm run build
2332
- name: Archive build artifacts

0 commit comments

Comments
 (0)