Skip to content

Commit ebed31e

Browse files
committed
ci: fix release process
1 parent d039061 commit ebed31e

4 files changed

Lines changed: 40 additions & 26 deletions

File tree

.github/workflows/publish.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: Release Please
2+
permissions:
3+
contents: write
4+
issues: write
5+
pull-requests: write
26

37
on:
48
push:
@@ -8,15 +12,31 @@ on:
812
jobs:
913
release:
1014
runs-on: ubuntu-latest
15+
outputs:
16+
release_created: ${{ steps.release.outputs.release_created }}
1117
steps:
1218
- name: Checkout repository
1319
uses: actions/checkout@v4
1420
- name: Setup Node.js
1521
uses: actions/setup-node@v4
1622
with:
17-
node-version: '20'
23+
node-version: '24'
1824
- name: Release Please
19-
uses: google-github-actions/release-please-action@v4
25+
uses: googleapis/release-please-action@v4
26+
id: release
2027
with:
2128
release-type: node
22-
29+
publish:
30+
needs: release
31+
runs-on: ubuntu-latest
32+
if: needs.release.outputs.release_created == 'true'
33+
steps:
34+
- name: Checkout repository
35+
uses: actions/checkout@v4
36+
- name: Setup Node.js
37+
uses: actions/setup-node@v4
38+
with:
39+
node-version: '24'
40+
registry-url: 'https://registry.npmjs.org'
41+
- run: npm ci
42+
- run: npm publish

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Changelog
2+
3+
## 1.0.0 (2025-11-21)
4+
5+
6+
### Features
7+
8+
* add custom matchers for array assertions ([194ce5e](https://github.com/NoamGaash/playwright-assertions/commit/194ce5e6be1430ac1e8fc5d6112bc5d31864e97f))
9+
* add GitHub workflows for npm publishing and release management ([3fae280](https://github.com/NoamGaash/playwright-assertions/commit/3fae2800b4614562f0237a6256d51834e6a04856))
10+
* add README and tests for array matchers ([b0a7ce2](https://github.com/NoamGaash/playwright-assertions/commit/b0a7ce2a2ec838daa57a0f91356963f87e0d6a2b))
11+
12+
13+
### Bug Fixes
14+
15+
* update npm publish command and add 'dom' to TypeScript lib ([d039061](https://github.com/NoamGaash/playwright-assertions/commit/d03906101058ae3b4a3d34763eb75d5e3e2bd5aa))

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "playwright-assertions",
3-
"version": "0.0.1",
3+
"version": "1.0.0",
44
"description": "Custom matchers for Playwright",
55
"files": [
66
"lib/**/*"
@@ -45,6 +45,6 @@
4545
"assertions",
4646
"custom-matchers",
4747
"testing",
48-
"automation"
48+
"automation"
4949
]
5050
}

0 commit comments

Comments
 (0)