Skip to content

Merge pull request #93 from yumemi-inc/dependabot/npm_and_yarn/typesc… #198

Merge pull request #93 from yumemi-inc/dependabot/npm_and_yarn/typesc…

Merge pull request #93 from yumemi-inc/dependabot/npm_and_yarn/typesc… #198

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch: ~
jobs:
test:
name: Test
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: corepack enable pnpm
- id: pnpm-cache
shell: bash
run: echo "path=$(pnpm store path)" >> "${GITHUB_OUTPUT}"
- uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.path }}
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-pnpm-
- run: pnpm install --frozen-lockfile
- run: pnpm run check
- run: pnpm run build