diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3ca415f..bb478f7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,10 +31,10 @@ jobs: include: - registry: npm url: https://registry.npmjs.org/ - token: ${{ secrets.NPM_TOKEN }} + token: NPM_TOKEN - registry: gpr url: https://npm.pkg.github.com/ - token: ${{ secrets.GITHUB_TOKEN }} + token: GITHUB_TOKEN steps: - uses: actions/checkout@v2 - uses: actions/cache@v2 @@ -52,4 +52,4 @@ jobs: if: matrix.registry == 'gpr' - run: npm publish env: - NODE_AUTH_TOKEN: ${{ matrix.token }} + NODE_AUTH_TOKEN: ${{ secrets[matrix.token] }} diff --git a/README.md b/README.md index 378c512..33a57df 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,9 @@ [![Publish to NPM and GCR](https://github.com/swantzter/irctokens-js/actions/workflows/publish.yml/badge.svg)](https://github.com/swantzter/irctokens-js/actions/workflows/publish.yml) [![codecov](https://codecov.io/gh/swantzter/irctokens-js/branch/main/graph/badge.svg)](https://codecov.io/gh/swantzter/irctokens-js) -TypeScrip port of the python library [irctokens](https://github.com/jesopo/irctokens) +TypeScript port of the python library [irctokens](https://github.com/jesopo/irctokens). +The major and minor version of this library will aim to follow upstream, patch +will be increased independently. ## rationale