Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

Commit

Permalink
fix(github-actions): fix github actions to run bun commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ajimae committed Jul 16, 2022
1 parent ca1bc9d commit 5094ccb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org

# install bun binaries
- name: install bun
shell: bash
run: curl https://bun.sh/install | bash
Expand All @@ -27,7 +28,7 @@ jobs:
- name: install dependencies
run: /home/runner/.bun/bin/bun install
- name: build package
run: /home/runner/.bun/bin/bun run build
run: /home/runner/.bun/bin/bun run build
# - name: run test suites
# run: npm test

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Fast, lightweight and zero dependency framework for [bunjs](https://bun.sh) 🚀

- [Background](#background)
- [Prerequisite](#prerequisite)
- [Install](#install)
- [Install](#installation)
- [Usage](#usage)
- [Examples](#examples)
- [Hellow Bun](#hello-bun)
Expand All @@ -26,7 +26,7 @@ Fast, lightweight and zero dependency framework for [bunjs](https://bun.sh) 🚀
- [Contribute](#contribute)
- [License](#license)
- [Author](#author)
- [Note](#note)
- [Note](#note:)

## Background

Expand Down Expand Up @@ -327,5 +327,5 @@ See the TODO doc [here](todo.md), feel free to also add to the list by editing t
## Author
Coded with 💙 by [Chukwuemeka Ajima](https://github.com/ajimae)
## Note
Although this version is fairly stable, it is actively still under development so also is [bunjs](https://bun.sh) and might contain some bugs. Hence, not recommended to be used in a production environment yet.
## Note:
Although this version is fairly stable, it is actively still under development so also is [bunjs](https://bun.sh) and might contain some bugs, hence, not ideal for a production app.
18 changes: 7 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"name": "colstonjs",
"version": "0.1.0",
"author": "Chukwuemeka Ajima <[email protected]>",
"repository": "https://github.com/ajimae/colstonjs.git",
"main": "dist/index.js",
"dependencies": {
"bun-types": "^0.1.4"
},
"description": "fast, lightweight and zero dependency framework for bunjs",
"files": [
"dist/*",
"package.json",
Expand All @@ -23,18 +27,10 @@
"server",
"framework"
],
"description": "fast, lightweight and zero dependency framework for bunjs",
"main": "dist/index.js",
"repository": "https://github.com/ajimae/colstonjs.git",
"author": "Chukwuemeka Ajima <[email protected]>",
"license": "MIT",
"private": false,
"devDependencies": {
"@types/node": "^18.0.3"
},
"scripts": {
"build": "rm -rf dist/ && tsc",
"postbuild": "chmod +x clean-dist && sh ./clean-dist",
"clean": "rsync -r -q -i --remove-source-files --include './dist/src/*.d.ts' --exclude '*.js' --prune-empty-dirs --delete-after dist/src dist/declarations/"
"build": "rm -rf dist && tsc",
"postbuild": "chmod +x clean-dist && sh ./clean-dist"
}
}
}

0 comments on commit 5094ccb

Please sign in to comment.