Skip to content

Commit 9e6a8d8

Browse files
committed
Switched to npm for release builds
1 parent eeb919e commit 9e6a8d8

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/release-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
- uses: actions/setup-node@v1
1717
with:
1818
node-version: 12
19-
- run: yarn
20-
- run: yarn build
19+
- run: npm install
20+
- run: npm run build
2121
- name: Zip Project
2222
run: |
2323
zip -r minecraftjson-compiled.zip public
@@ -32,12 +32,12 @@ jobs:
3232
draft: false
3333
prerelease: false
3434
- name: Upload Release Asset
35-
id: upload-release-asset
35+
id: upload-release-asset
3636
uses: actions/upload-release-asset@v1
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3939
with:
40-
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
40+
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
4141
asset_path: ./minecraftjson-compiled.zip
4242
asset_name: minecraftjson-compiled.zip
4343
asset_content_type: application/zip

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"repository": "https://github.com/ezfe/tellraw",
55
"author": "ezfe",
66
"license": "MIT",
7-
"version": "7.1.0",
7+
"version": "7.1.1",
88
"scripts": {
99
"build": "rollup -c",
1010
"dev": "rollup -c -w",

0 commit comments

Comments
 (0)