Skip to content

Commit

Permalink
Merge pull request #33 from nrccua/update/packages_20230915
Browse files Browse the repository at this point in the history
Try to update how the token is passed to npm publish
  • Loading branch information
TheCleric authored Sep 15, 2023
2 parents 80f0895 + d8db4bb commit a74e568
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- run: npm i
- run: npm run test
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
- run: npm config set registry https://registry.npmjs.org/
- run: npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}
- run: npm whoami
- run: npm publish
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.4.4](https://github.com/nrccus/eslint-config/compare/1.4.3...1.4.4) (2023-09-15)


### Changes

* Try to update how the token is passed to npm publish ([781eb9e](https://github.com/nrccus/eslint-config/commit/781eb9e6bcffbbb07b158cbc0fed8cda832f3a0a))
* 1.4.3 ([c20a2b7](https://github.com/nrccus/eslint-config/commit/c20a2b78762d596752587ddd5c16e08b50d9bc44))

### [1.4.3](https://github.com/nrccus/eslint-config/compare/1.4.2...1.4.3) (2023-09-15)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,5 @@
"update:version:major": "standard-version --release-as major",
"update:version:minor": "standard-version --release-as minor"
},
"version": "1.4.3"
"version": "1.4.4"
}

0 comments on commit a74e568

Please sign in to comment.