Skip to content

Commit 0b59a50

Browse files
committed
Adjust CI workflow to validate npm packaging
1 parent a220913 commit 0b59a50

1 file changed

Lines changed: 2 additions & 43 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -4,45 +4,10 @@ on:
44
push:
55
pull_request:
66

7-
concurrency:
8-
group: rerum-ci-${{ github.ref }}
9-
cancel-in-progress: true
10-
117
jobs:
12-
test:
13-
name: Test RERUM Server
14-
runs-on: ubuntu-latest
15-
16-
strategy:
17-
fail-fast: false
18-
matrix:
19-
node-version: [24.x]
20-
21-
steps:
22-
- name: Checkout repository
23-
uses: actions/checkout@v4
24-
25-
- name: Setup Node.js ${{ matrix.node-version }}
26-
uses: actions/setup-node@v4
27-
with:
28-
node-version: ${{ matrix.node-version }}
29-
cache: npm
30-
31-
- name: Verify Node and npm versions
32-
run: |
33-
node --version
34-
npm --version
35-
36-
- name: Install dependencies
37-
run: npm ci
38-
39-
- name: Run RERUM test suite
40-
run: npm run runtest
41-
428
package-validation:
439
name: Validate npm package
4410
runs-on: ubuntu-latest
45-
needs: test
4611

4712
steps:
4813
- name: Checkout repository
@@ -55,7 +20,7 @@ jobs:
5520
cache: npm
5621

5722
- name: Install dependencies
58-
run: npm ci
23+
run: npm install
5924

6025
- name: Build npm package tarball
6126
run: npm pack
@@ -64,10 +29,4 @@ jobs:
6429
run: |
6530
PACKAGE_FILE=$(ls *.tgz | head -n 1)
6631
echo "Generated package: $PACKAGE_FILE"
67-
tar -tf "$PACKAGE_FILE"
68-
69-
- name: Upload npm package artifact
70-
uses: actions/upload-artifact@v4
71-
with:
72-
name: rerum-npm-package
73-
path: "*.tgz"
32+
tar -tf "$PACKAGE_FILE"

0 commit comments

Comments
 (0)