From a115f35fd3951977b82e6dcd60d540f87a60bc2c Mon Sep 17 00:00:00 2001 From: Bart Veneman Date: Sun, 5 Apr 2026 22:32:25 +0200 Subject: [PATCH] fix: make sure release works and test+build runs before tagging new version --- .github/workflows/release.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a5754e..87c15a1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,10 +15,11 @@ jobs: - uses: actions/checkout@v6 - uses: actions/setup-node@v6 with: - node-version: 22 - registry-url: https://registry.npmjs.org/ - - run: npm install -g npm@latest + node-version: 24 - run: npm ci --ignore-scripts --no-audit --no-fund + - run: npx playwright install chromium --only-shell + - run: npm test -- --forbid-only + - run: npm run build - name: Bump version in package.json run: | VERSION="${{ github.event.release.tag_name }}" @@ -30,7 +31,4 @@ jobs: git add package.json package-lock.json git commit -m "chore: bump version to ${{ github.event.release.tag_name }}" git push origin HEAD:main - - run: npx playwright install chromium --only-shell - - run: npm test -- --forbid-only - - run: npm run build - run: npm publish --access public