commit 2c48d724085260f3b684850691ddd9ff330c4272
parent 27aa762e67154fa5937330d931fd70a914ea53fd
Author: mtmn <miro@haravara.org>
Date: Sat, 2 May 2026 01:09:16 +0200
fix(ci): run tests on automated PRs
Diffstat:
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
@@ -1,5 +1,8 @@
on:
pull_request:
+ push:
+ branches:
+ - 'release-please--**'
jobs:
test:
@@ -9,7 +12,7 @@ jobs:
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
- node-version: '22'
+ node-version: '24'
cache: npm
- name: Install dependencies
@@ -18,9 +21,9 @@ jobs:
- name: Cache spago packages
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
- path: ~/.cache/spago
+ path: ~/.cache/spago-nodejs
key: spago-${{ hashFiles('spago.lock') }}
restore-keys: spago-
- name: Run tests
- run: npm test
+ run: npm run build && npm test