Skip to content

Commit

Permalink
Switched to npm for release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ezfe committed May 8, 2021
1 parent eeb919e commit 9e6a8d8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn
- run: yarn build
- run: npm install
- run: npm run build
- name: Zip Project
run: |
zip -r minecraftjson-compiled.zip public
Expand All @@ -32,12 +32,12 @@ jobs:
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
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
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
asset_path: ./minecraftjson-compiled.zip
asset_name: minecraftjson-compiled.zip
asset_content_type: application/zip
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
Expand Up @@ -4,7 +4,7 @@
"repository": "https://github.com/ezfe/tellraw",
"author": "ezfe",
"license": "MIT",
"version": "7.1.0",
"version": "7.1.1",
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
Expand Down

0 comments on commit 9e6a8d8

Please sign in to comment.