Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/olive-donkeys-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'assertron': patch
---

Point repository metadata at `cyberuni/assertron` and release through npm trusted
publishing (OIDC) instead of a long-lived `NPM_TOKEN`.
12 changes: 11 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@ name: pull-request
on:
pull_request:
types: [opened, synchronize]
merge_group:

jobs:
code:
uses: unional/.github/.github/workflows/pnpm-verify.yml@main
uses: cyberuni/.github/.github/workflows/pnpm-verify.yml@main
with:
os: '["ubuntu-latest"]'
skip-playwright: true

publish-gate:
if: startsWith(github.head_ref, 'changeset-release/')
uses: cyberuni/.github/.github/workflows/pnpm-publish-gate.yml@main
permissions:
contents: read
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ on:

jobs:
code:
uses: unional/.github/.github/workflows/pnpm-verify.yml@main
uses: cyberuni/.github/.github/workflows/pnpm-verify.yml@main
with:
os: '["ubuntu-latest"]'
skip-playwright: true

release:
uses: unional/.github/.github/workflows/pnpm-release-changeset.yml@main
uses: cyberuni/.github/.github/workflows/pnpm-release-changeset-oidc.yml@main
needs: code
secrets: inherit
permissions:
id-token: write
contents: write
pull-requests: write
3 changes: 0 additions & 3 deletions .releaserc.json

This file was deleted.

7 changes: 0 additions & 7 deletions .yarnrc.yml

This file was deleted.

14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![GitHub NodeJS][github-nodejs]][github-action-url]
[![Codecov][codecov-image]][codecov-url]

[![Semantic Release][semantic-release-image]][semantic-release-url]
[![Changesets][changesets-image]][changesets-url]

[![Visual Studio Code][vscode-image]][vscode-url]

Expand Down Expand Up @@ -186,13 +186,13 @@ yarn verify
[downloads-image]: https://img.shields.io/npm/dm/assertron.svg?style=flat
[downloads-url]: https://npmjs.org/package/assertron

[github-nodejs]: https://github.com/unional/assertron/workflows/nodejs/badge.svg
[github-action-url]: https://github.com/unional/assertron/actions
[codecov-image]: https://codecov.io/gh/unional/assertron/branch/master/graph/badge.svg
[codecov-url]: https://codecov.io/gh/unional/assertron
[github-nodejs]: https://github.com/cyberuni/assertron/actions/workflows/release.yml/badge.svg
[github-action-url]: https://github.com/cyberuni/assertron/actions
[codecov-image]: https://codecov.io/gh/cyberuni/assertron/branch/main/graph/badge.svg
[codecov-url]: https://codecov.io/gh/cyberuni/assertron

[semantic-release-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
[semantic-release-url]: https://github.com/semantic-release/semantic-release
[changesets-image]: https://img.shields.io/badge/maintained%20with-changesets-176de3.svg
[changesets-url]: https://github.com/changesets/changesets

[vscode-image]: https://img.shields.io/badge/vscode-ready-green.svg
[vscode-url]: https://code.visualstudio.com/
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"name": "assertron",
"version": "11.5.2",
"description": "A supplementary assertion library",
"homepage": "https://github.com/unional/assertron",
"homepage": "https://github.com/cyberuni/assertron",
"bugs": {
"url": "https://github.com/unional/assertron/issues"
"url": "https://github.com/cyberuni/assertron/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/unional/assertron.git"
"url": "https://github.com/cyberuni/assertron.git"
},
"license": "MIT",
"author": {
Expand Down
Loading