Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

回答を修正

回答を修正 #34

Workflow file for this run

name: ci
on:
push:
jobs:
test:
name: Build and Test
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
- run: corepack enable yarn
- id: yarn
run: echo "cache-dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.yarn.outputs.cache-dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn
- name: Test
run: yarn test