Skip to content

Commit

Permalink
0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Oaphi committed May 8, 2022
1 parent 51e5956 commit 9f2ad0f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 20 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ jobs:
node-version: 14
registry-url: https://npm.pkg.github.com
scope: "@${{github.repository_owner}}"
- run: npm install
- run: |
npm config set //npm.pkg.github.com/:_authToken=$NODE_AUTH_TOKEN
npm install
env:
NODE_AUTH_TOKEN: ${{github.token}}
- run: npm publish
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.PAT}}
Expand All @@ -32,17 +30,11 @@ jobs:
node-version: 14
registry-url: "https://registry.npmjs.org"
scope: "@${{github.repository_owner}}"
- run: |
npm config set //npm.pkg.github.com/:_authToken=$NODE_AUTH_TOKEN
npm install
- run: npm install
env:
NODE_AUTH_TOKEN: ${{github.token}}
- run: |
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
declare repo_name=$(echo "${{github.repository}}" | cut -d '/' -f 2)
declare temp_npmrc="/home/runner/work/$repo_name/$repo_name/.npmrc"
truncate $temp_npmrc -s 0
echo "@${{github.repository_owner}}:registry=https://registry.npmjs.org" >> $temp_npmrc
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
| Name | @userscripters/global-types |
| Description | Type definitions for global UserScripters objects |
| License | [GPL-3.0-or-later](https://spdx.org/licenses/GPL-3.0-or-later) |
| Version | 0.2.0 |
| Version | 0.2.1 |


# Support
Expand Down
6 changes: 3 additions & 3 deletions STACKAPPS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ library


<!-- thumbnail: -->
<!-- version: 0.2.0 -->
<!-- version: 0.2.1 -->
<!-- tag: library -->
<!-- excerpt: UserScripters global types is a type definitions package for helpers common to the UserScripters namespace -->

Expand All @@ -22,7 +22,7 @@ The script is licensed under the [GPL-3.0-or-later](https://spdx.org/licenses/GP

### Download

Latest version: 0.2.0
Latest version: 0.2.1

[Install](https://www.npmjs.com/package/@userscripters/global-types)

Expand All @@ -38,7 +38,7 @@ Version number means "last tested on":

| Version | Description |
| ---------- | ----------- |
| 0.2.0 | |
| 0.2.1 | |

## Contact

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@userscripters/global-types",
"description": "Type definitions for global UserScripters objects",
"version": "0.2.0",
"version": "0.2.1",
"scripts": {
"test": "tsd",
"readme": "generate-readme",
Expand Down

0 comments on commit 9f2ad0f

Please sign in to comment.