Skip to content

Commit c012117

Browse files
committed
2 parents 954a10d + 822b18b commit c012117

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ jobs:
5757
# Test global install of the package
5858
- run: npm pack .
5959
- run: npm install -g solid-server-*.tgz
60+
# Run the Solid test-suite
61+
- run: bash test/surface/run-solid-test-suite.sh $BRANCH_NAME $REPO_NAME
6062
- name: Save build
6163
# if: matrix.node-version == '20.x'
6264
uses: actions/upload-artifact@v5
@@ -67,16 +69,9 @@ jobs:
6769
!node_modules
6870
retention-days: 1
6971

70-
test-suite:
71-
needs: build
72-
runs-on: ${{ matrix.os }}
73-
steps:
74-
# Run the Solid test-suite
75-
- run: bash test/surface/run-solid-test-suite.sh $BRANCH_NAME $REPO_NAME
76-
7772
# The pipeline automate publication to npm, so that the docker build gets the correct version
7873
npm-publish-build:
79-
needs: [build, test-suite]
74+
needs: [build]
8075
name: Publish to npm
8176
runs-on: ubuntu-latest
8277
steps:
@@ -85,7 +80,7 @@ jobs:
8580
name: build
8681
- uses: actions/setup-node@v6
8782
with:
88-
node-version: 20.x
83+
node-version: 22.x
8984
- uses: rlespinasse/github-slug-action@v3.x
9085
- name: Append commit hash to package version
9186
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
@@ -98,7 +93,7 @@ jobs:
9893
tag: ${{ env.GITHUB_REF_SLUG }}
9994

10095
npm-publish-latest:
101-
needs: [build, test-suite, npm-publish-build]
96+
needs: [build, npm-publish-build]
10297
runs-on: ubuntu-latest
10398
if: github.ref == 'refs/heads/main'
10499
steps:

0 commit comments

Comments
 (0)