diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0b8ee0f..6d223bb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,10 +13,12 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: + registry-url: 'https://registry.npmjs.org' + scope: '@staratlas' node-version-file: '.nvmrc' + always-auth: true - run: npm ci - - name: Semantic Release - uses: cycjimmy/semantic-release-action@v4 + - uses: cycjimmy/semantic-release-action@v4 with: extra_plugins: | @semantic-release/changelog @@ -28,7 +30,6 @@ jobs: prerelease: true }, ] - env: GITHUB_TOKEN: ${{ secrets.GH_PAT }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/README.md b/README.md index 65d1fce..a10eb08 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ npm i ## Packages + | Package | Description | Version | Docs | |:---------------------|:---------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------| | `@staratlas/factory` | TypeScript interface for Star Atlas programs | [![npm](https://img.shields.io/npm/v/@staratlas/factory.svg?color=blue)](https://www.npmjs.com/package/@staratlas/factory) | [![Docs](https://img.shields.io/badge/docs-typedoc-blue)](https://staratlasmeta.github.io/factory/index.html) | diff --git a/package.json b/package.json index 6a58c8d..c39ccf2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,9 @@ { "name": "@staratlas/factory", "version": "0.7.0", + "publishConfig": { + "access": "public" + }, "description": "Star Atlas Factory for constructing Transactions targeting Solana on-chain programs", "repository": { "type": "git", @@ -36,8 +39,6 @@ "mobx-utils": "^6.0.8" }, "devDependencies": { - "@semantic-release/changelog": "^6.0.3", - "@semantic-release/git": "^10.0.1", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@types/big.js": "^6.2.2",