Skip to content

Commit

Permalink
Merge branch 'main' into replace-chalk
Browse files Browse the repository at this point in the history
  • Loading branch information
sidedwards authored Oct 27, 2024
2 parents 7dc0f35 + ef1166a commit 747acdf
Show file tree
Hide file tree
Showing 6 changed files with 437 additions and 207 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Deno
uses: denoland/setup-deno@v1
Expand All @@ -23,7 +23,7 @@ jobs:
run: |
rm -f deno.lock
deno cache main.ts
deno task build
deno run --allow-read --allow-write --allow-run="git,vim,gh,deno" scripts/build.ts
- name: Generate Release Notes
uses: actions/github-script@v7
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,23 @@ on:
pull_request:
branches: [ main, master ]

permissions:
contents: read
pull-requests: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: "1.37.0"
deno-version: "1.41.0"

- name: Test Build
run: |
rm -f deno.lock
deno cache main.ts
deno task build
deno run --allow-read --allow-write --allow-run="git,vim,gh,deno" scripts/build.ts
6 changes: 3 additions & 3 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"tasks": {
"start": "deno run --allow-net --allow-read --allow-write --allow-env --allow-run=\"git,vim\" main.ts",
"install": "deno run --allow-read --allow-write --allow-run scripts/install.ts",
"build": "deno run --allow-read --allow-write --allow-run scripts/build.ts",
"start": "deno run --allow-net --allow-read --allow-write --allow-env --allow-run=\"git,vim,gh\" main.ts",
"install": "deno run --allow-read --allow-write --allow-run=\"git,vim,gh\" scripts/install.ts",
"build": "deno run --allow-read --allow-write --allow-run=\"git,vim,gh\" scripts/build.ts",
"update": "git pull && deno task install"
},
"name": "auto-commit",
Expand Down
Loading

0 comments on commit 747acdf

Please sign in to comment.