Skip to content

退職までにやることリストを追加する #5

退職までにやることリストを追加する

退職までにやることリストを追加する #5

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
# 同じブランチで新しい push があったら古い実行はキャンセルする
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
runs-on: ubuntu-latest
# 日本向けのアプリなので、ローカル環境と同じタイムゾーンで検証する
env:
TZ: Asia/Tokyo
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
# lefthook の git hook はCIでは不要なので prepare をスキップする
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Typecheck
run: npm run typecheck
- name: Lint
run: npm run lint
- name: Test
run: npm test -- --ci