Skip to content

Commit 8699d0e

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

4 files changed

Lines changed: 41 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: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
name: Release Please
2+
permissions:
3+
contents: write
4+
issues: write
5+
pull-requests: write
6+
id-token: write
27

38
on:
49
push:
@@ -8,15 +13,31 @@ on:
813
jobs:
914
release:
1015
runs-on: ubuntu-latest
16+
outputs:
17+
release_created: ${{ steps.release.outputs.release_created }}
1118
steps:
1219
- name: Checkout repository
1320
uses: actions/checkout@v4
1421
- name: Setup Node.js
1522
uses: actions/setup-node@v4
1623
with:
17-
node-version: '20'
24+
node-version: '24'
1825
- name: Release Please
19-
uses: google-github-actions/release-please-action@v4
26+
uses: googleapis/release-please-action@v4
27+
id: release
2028
with:
2129
release-type: node
22-
30+
publish:
31+
needs: release
32+
runs-on: ubuntu-latest
33+
if: needs.release.outputs.release_created == 'true'
34+
steps:
35+
- name: Checkout repository
36+
uses: actions/checkout@v4
37+
- name: Setup Node.js
38+
uses: actions/setup-node@v4
39+
with:
40+
node-version: '24'
41+
registry-url: 'https://registry.npmjs.org'
42+
- run: npm ci
43+
- 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)