diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3ef2ed05..a90380e5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,11 +2,7 @@ name: Build on: push: - branches: - - main pull_request: - branches: - - main jobs: build: @@ -14,7 +10,7 @@ jobs: strategy: matrix: - node-version: [20.x, 22.x] + node-version: ['20.17.0'] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -25,4 +21,4 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'npm' - run: npm ci - - run: npm run build --if-present + - run: npm run build