Skip to content

Commit

Permalink
ci: CI on both Node 22 and Deno 2
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkluijk committed Nov 21, 2024
1 parent ecf0015 commit 6aaf97c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:

runs-on: ubuntu-latest


steps:
- name: 'Clone repository'
uses: actions/checkout@v4
Expand Down Expand Up @@ -52,12 +51,8 @@ jobs:

runs-on: ubuntu-latest

permissions:
id-token: write # Needed for auth with Deno Deploy
contents: read # Needed to clone the repository

env:
DENO_DIR: '.deno'
DENO_DIR: '/tmp/.deno'

steps:
- name: 'Clone repository'
Expand All @@ -68,11 +63,17 @@ jobs:
with:
deno-version: v2.x

- name: 'restore .deno dir'
uses: actions/cache/restore@v4
with:
path: ${{ env.DENO_DIR }}
key: deno_dir

- name: 'deno install'
run: deno install

- name: 'cache Deno dir'
uses: actions/cache@v2
- name: 'cache .deno dir'
uses: actions/cache/save@v4
with:
path: ${{ env.DENO_DIR }}
key: deno_dir
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache: 'npm'

- name: 'Setup Pages'
uses: actions/configure-pages@v4
Expand Down Expand Up @@ -63,5 +63,4 @@ jobs:

steps:
- name: 'Deploy to GitHub Pages'
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 6aaf97c

Please sign in to comment.