diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 269926f..3b17782 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,21 +4,24 @@ on: push: branches: - main + pull_request: + branches: + - main jobs: build: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: '21' + node-version: 20.x - name: Install Dependencies run: npm install - name: Build run: npm run build - name: Test - run: npm test + run: npm run test