Skip to content

Commit

Permalink
added pull request action
Browse files Browse the repository at this point in the history
  • Loading branch information
montumodi committed Sep 9, 2024
1 parent c8784bf commit 5e541f7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Run tests on pull request create/update

on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18, 20, 22 ]
name: Node ${{ matrix.node }} sample
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm test

0 comments on commit 5e541f7

Please sign in to comment.