docs: align README + doc-comments to Atomic Design scheme #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: write # commit version bumps / push tags | |
| pull-requests: write # open the "Version Packages" PR | |
| id-token: write # npm OIDC trusted publishing | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: pnpm | |
| registry-url: https://registry.npmjs.org | |
| - name: Ensure npm >= 11.5 for OIDC trusted publishing | |
| run: npm i -g npm@latest | |
| - run: pnpm install --frozen-lockfile | |
| - uses: changesets/action@v1 | |
| with: | |
| version: pnpm run version-packages | |
| publish: pnpm run release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # NPM_CONFIG_PROVENANCE intentionally unset: npm provenance requires a PUBLIC | |
| # source repo, but ogs-tech/press is private (npm returns E422 | |
| # "Unsupported GitHub Actions source repository visibility: private"). | |
| # OIDC trusted publishing (auth) still works without it. Re-enable only if | |
| # the repo is made public. |