diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 106430c..b7aa92a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/github-action-npm-release@2.0.1 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 diff --git a/package.json b/package.json index b59a360..50a1c07 100644 --- a/package.json +++ b/package.json @@ -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",