Skip to content

Commit 5c3756f

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

4 files changed

Lines changed: 41 additions & 29 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 & 6 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,28 @@ 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
14-
- name: Setup Node.js
15-
uses: actions/setup-node@v4
16-
with:
17-
node-version: '20'
1821
- name: Release Please
19-
uses: google-github-actions/release-please-action@v4
22+
uses: googleapis/release-please-action@v4
23+
id: release
2024
with:
2125
release-type: node
22-
26+
publish:
27+
needs: release
28+
runs-on: ubuntu-latest
29+
if: needs.release.outputs.release_created == 'true'
30+
steps:
31+
- name: Checkout repository
32+
uses: actions/checkout@v4
33+
- name: Setup Node.js
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: '24'
37+
registry-url: 'https://registry.npmjs.org'
38+
- run: npm install -g npm@latest
39+
- run: npm ci
40+
- 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)