From 2fe6413acca8666995eb97d0b57f26d2873be27c Mon Sep 17 00:00:00 2001 From: hirokinoue <70567194+hirokinoue@users.noreply.github.com> Date: Sat, 14 Jan 2023 00:02:17 +0900 Subject: [PATCH] chore: create github actions workflow --- .github/workflows/test.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..9b7761e --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,20 @@ +name: test +on: [push, pull_request] +jobs: + test: + name: "Test on Node.js ${{ matrix.node-version }}" + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [16, 18] + steps: + - name: checkout + uses: actions/checkout@v2 + - name: setup Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + - name: Install + run: yarn install + - name: Test + run: yarn test \ No newline at end of file