From c021ad9d0987f3a6ee1773319a60b82bd7eed4b1 Mon Sep 17 00:00:00 2001 From: Kazumi Inada Date: Wed, 27 Mar 2024 14:28:37 +0900 Subject: [PATCH] chore: Add check workflows --- .github/workflows/checks.yaml | 32 +++++++++++++++++++++++++++ .github/workflows/release-please.yaml | 3 +-- .github/workflows/update-dist.yaml | 1 + 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/checks.yaml diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml new file mode 100644 index 0000000..09d6ac7 --- /dev/null +++ b/.github/workflows/checks.yaml @@ -0,0 +1,32 @@ +name: checks +on: + push: + branches: + - dev + pull_request: + branches: + - dev + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: '20' + - name: Install dependencies + run: npm ci + - name: Lint + run: npm run lint + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: '20' + - name: Install dependencies + run: npm ci + - name: Build + run: npm run build diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 44736ed..8e829b5 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -1,3 +1,4 @@ +name: release-please on: push: branches: @@ -7,8 +8,6 @@ permissions: contents: write pull-requests: write -name: release-please - jobs: release-please: runs-on: ubuntu-latest diff --git a/.github/workflows/update-dist.yaml b/.github/workflows/update-dist.yaml index 593ef19..3963ffd 100644 --- a/.github/workflows/update-dist.yaml +++ b/.github/workflows/update-dist.yaml @@ -1,3 +1,4 @@ +name: update-dist on: push: branches: