Skip to content

Commit

Permalink
ci: Set up CI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Dec 12, 2023
1 parent 0b1e922 commit a0f20c3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on: [push, pull_request]

jobs:
build:

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [windows-latest, macOS-latest, ubuntu-latest]
node-version: [20.x]
deno-version: [1.x]

steps:
- uses: actions/checkout@v4

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Set up Deno ${{ matrix.deno-version }}
uses: denolib/setup-deno@v2
with:
deno-version: ${{ matrix.deno-version }}

- name: npm install, build, and test
run: |
npm install
npm test
env:
CI: true

0 comments on commit a0f20c3

Please sign in to comment.