Skip to content

Commit

Permalink
fix: add DENO_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
mxdvl committed Jul 1, 2024
1 parent 9636a00 commit a99ed74
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ permissions:
id-token: write # Needed for authentication
pages: write # Needed for Github Pages

env:
DENO_DIR: /var/cache/deno

jobs:
deno:
name: Deploy to Deno Deploy
Expand All @@ -26,7 +29,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- uses: denoland/setup-deno@v1
- name: Set up Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.44

Expand Down Expand Up @@ -58,7 +62,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- uses: denoland/setup-deno@v1
- name: Set up Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.44

Expand All @@ -81,4 +86,4 @@ jobs:

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4
11 changes: 8 additions & 3 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@ on:
pull_request:
workflow_dispatch:

env:
DENO_DIR: /var/cache/deno

jobs:
health:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: denoland/setup-deno@v1
- name: Set up Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.44

Expand All @@ -27,9 +32,9 @@ jobs:

- name: Lint
run: deno lint

- name: Test
run: deno test -A --no-check

- name: Check
run: deno check src/**.ts
run: deno check src/**.ts

0 comments on commit a99ed74

Please sign in to comment.