Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
iuioiua authored and cmd-johnson committed Oct 23, 2024
1 parent 748b6f5 commit 4bf3f0d
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:

strategy:
matrix:
deno: ["v1.x", "canary"]
deno: ["latest", "canary"]
os: [macOS-latest, windows-latest, ubuntu-latest]

steps:
- name: Setup repo
uses: actions/checkout@v3

- name: Setup Deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: ${{ matrix.deno }} # tests across multiple Deno versions

Expand All @@ -40,15 +40,15 @@ jobs:
lint:
strategy:
matrix:
deno: ["v1.x", "canary"]
deno: ["latest", "canary"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Setup repo
uses: actions/checkout@v3

- name: Setup Deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: ${{ matrix.deno }}

Expand All @@ -58,20 +58,14 @@ jobs:
validateBundle:
strategy:
matrix:
deno: ["v1.x", "canary"]
deno: ["latest", "canary"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Setup repo
uses: actions/checkout@v3

- name: Setup Deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: ${{ matrix.deno }}

- name: Bundle code
run: deno bundle mod.ts > mod.bundle.js

- name: Try running the bundled code
run: deno run ./mod.bundle.js

0 comments on commit 4bf3f0d

Please sign in to comment.