diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2d78df2..604b8f1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,10 @@ name: CI -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: jobs: test: @@ -9,8 +13,8 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 cache: yarn - - run: yarn install + - run: yarn install --frozen-lockfile - run: yarn test - run: yarn build