From 1cb1a279f9068bf596c77e1e049e5887a157fea2 Mon Sep 17 00:00:00 2001 From: Yusuke Wada Date: Sun, 24 Dec 2023 00:05:08 +0900 Subject: [PATCH] ci: add github actions --- .github/workflows/ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c2cb02e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: ci +on: + push: + branches: [main, next] + pull_request: + branches: ['*'] + +jobs: + ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20.x + - run: yarn install --frozen-lockfile + - run: yarn build + - run: yarn test