From 3c49b6391b1cdc262bef3c6eb10e0c36db97edc7 Mon Sep 17 00:00:00 2001 From: Pugma Date: Sat, 29 Jun 2024 14:25:31 +0900 Subject: [PATCH] =?UTF-8?q?=E3=81=A8=E3=82=8A=E3=81=82=E3=81=88=E3=81=9Abu?= =?UTF-8?q?ild=E3=83=81=E3=82=A7=E3=83=83=E3=82=AF=E3=81=AF=E3=81=84?= =?UTF-8?q?=E3=82=8C=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/main.yaml diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..db6ed24 --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,31 @@ +name: CI (main) + +on: + pull_request: + branches: + - 'main' + +jobs: + package: + name: node package install + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version-file: .node-version + cache: npm + cache-dependency-path: package-lock.json + - run: npm ci + build: + name: type and build check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version-file: .node-version + cache: npm + cache-dependency-path: package-lock.json + - run: npm ci + - run: npm run build