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