From 5b337ea4cab46b1ee13eb02c531616e3fb2a0da3 Mon Sep 17 00:00:00 2001 From: Kazuhiro Kobatake <31001505+kobakazu0429@users.noreply.github.com> Date: Mon, 5 Feb 2024 18:58:00 +0900 Subject: [PATCH] chore: CI runs on push to master or PR, install with `--frozen-lockfile` and Node.js v20 (#96) --- .github/workflows/test.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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