Skip to content

Commit

Permalink
ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmcd committed Apr 16, 2024
1 parent 6731fc4 commit 92d690b
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: ci

on: [push, pull_request]

jobs:
test:
name: Test
strategy:
matrix:
os: [ubuntu-latest]
node-version: [20.x]
deno-version: [1.40.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Use Deno Version ${{ matrix.deno-version }}
uses: denolib/setup-deno@master
with:
deno-version: ${{ matrix.deno-version }}
- name: npm install
run: npm ci
env:
CI: true
- name: build
run: npm run build
env:
CI: true
- name: vitest
run: npm run test
env:
CI: true
- name: deno test
run: |
cd deno-guest
deno test

0 comments on commit 92d690b

Please sign in to comment.