-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from iamando/develop
feat: create a github action to check install script and deno
- Loading branch information
Showing
6 changed files
with
58 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: pull-request | ||
|
||
on: push | ||
|
||
jobs: | ||
install-compiled: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: denolib/setup-deno@v2 | ||
with: | ||
deno-version: 1.37.1 | ||
- run: | | ||
chmod +x scripts/install.sh | ||
./scripts/install.sh | ||
- run: | | ||
if command -v deno &>/dev/null; then | ||
echo "Deno is installed." | ||
deno --version | ||
else | ||
echo "Deno installation failed." | ||
exit 1 | ||
fi | ||
- run: | | ||
if command -v cocli &>/dev/null; then | ||
echo "Cocli is installed globally." | ||
cocli --version | ||
else | ||
echo "Cocli installation globally failed." | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"importMap": "./import_map.json", | ||
"tasks": { | ||
"start": "deno run --allow-all --unstable --import-map=import_map.json cli.ts", | ||
"dev": "deno run --watch cli.ts" | ||
"start": "deno run -A cli.ts", | ||
"dev": "deno run -A --watch cli.ts" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters