Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Commit

Permalink
update workflows/release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-1 committed Mar 25, 2022
1 parent 9da897f commit 528f833
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,21 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Checkout
uses: actions/checkout@v2

- uses: actions/setup-node@v2
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'

- run: npm install && npx tsc

- name: Automatic GitHub Release
uses: justincy/[email protected]
id: release
- uses: actions/setup-node@v1
if: steps.release.outputs.released == 'true'
with:
registry-url: 'https://registry.npmjs.org'

- name: Publish
if: steps.release.outputs.released == 'true'
run: npm publish
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typed-hypixel-api",
"version": "0.1.2",
"version": "0.1.3",
"main": "build/index.js",
"types": "build/index.d.js",
"repository": "https://github.com/skyblockstats/typed-hypixel-api.git",
Expand Down

0 comments on commit 528f833

Please sign in to comment.