diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c875ad1..6a74c22 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,8 @@ name: CI -on: [push] +on: + pull_request: + types: [opened, synchronize, reopened, ready_for_review] + push: jobs: build: runs-on: ubuntu-latest @@ -7,8 +10,8 @@ jobs: matrix: node: ['14', '16', '18'] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} - run: npm ci