Skip to content

Commit

Permalink
ci: add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfla1 committed Nov 4, 2023
1 parent f39afd0 commit 0dc9502
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci-main-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Run Tests on `main`

on: [push]

jobs:
test-nodejs:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: ["16.x", "18.x", "20.x"]

steps:
- uses: actions/checkout@v4
- name: Using Node.js ${{matrix.node-version}}
uses: actions/setup-node@v3
with:
node-version: ${{matrix.node-version}}
cache: yarn
- name: Install dependencies
run: yarn install
- name: Run tests
run: yarn test

0 comments on commit 0dc9502

Please sign in to comment.