From 617a83c1b7c26dc2a34dc2ccc56b33ea4d99f15e Mon Sep 17 00:00:00 2001 From: isuke Date: Wed, 20 Sep 2023 18:03:57 +0900 Subject: [PATCH] chore: add github action --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..6bc6fdc --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: Test and Lint + +on: [push] + +jobs: + # test: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v3 + # - name: Use Node.js + # uses: actions/setup-node@v3 + # with: + # node-version: 20.x + # cache: 'npm' + # - run: npm install + # - run: npm run build + # - run: npm run test + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 20.x + cache: 'npm' + - run: npm install + - run: npm run lint