Skip to content

Commit

Permalink
chore: CI runs on push to master or PR, install with `--frozen-lockfi…
Browse files Browse the repository at this point in the history
…le` and Node.js v20 (#96)
  • Loading branch information
kobakazu0429 authored Feb 5, 2024
1 parent 67b388d commit 5b337ea
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: CI

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:

jobs:
test:
Expand All @@ -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

0 comments on commit 5b337ea

Please sign in to comment.