Skip to content

Merge pull request #1033 from dsk52/renovate/definitelytyped #437

Merge pull request #1033 from dsk52/renovate/definitelytyped

Merge pull request #1033 from dsk52/renovate/definitelytyped #437

name: develop
on:
push:
branches: [develop]
pull_request:
branches: [develop]
env:
MICROCMS_API_KEY: ${{ secrets.MICROCMS_API_KEY }}
MICROCMS_SERVICE_DOMAIN: ${{ secrets.MICROCMS_SERVICE_DOMAIN }}
jobs:
lint_n_test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js
uses: actions/setup-node@v4
with:
# node-version: ${{ matrix.node-version }}
node-version-file: "package.json"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: npm run lint
- name: Test
run: npm run test
type-check:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js
uses: actions/setup-node@v4
with:
# node-version: ${{ matrix.node-version }}
node-version-file: "package.json"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: type-check
run: npm run type-check