Skip to content

Commit

Permalink
fix: run tests on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent authored Oct 1, 2024
1 parent 3a134b5 commit c80b66d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Tests

on: [push]
on:
push:
branches:
- 'main'
pull_request:
branches:
- '**'

jobs:
build:
Expand All @@ -9,12 +15,12 @@ jobs:

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

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm i --force
Expand Down

0 comments on commit c80b66d

Please sign in to comment.